| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\
| | |
| | | |
Add RestoreStaged to Worktree that mimics the behaviour of git restore --staged <file>...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
<file>..." command
Small formatting and style fixes before rebasing against master
Setup args for restore in TestExamples
Fix typo in error message and remove dependency on fmt in worktree_test
|
|/ /
| |
| |
| |
| | |
Commits and tags signed with x509 certificates may be encoded with the `SIGNED MESSAGE` PEM label.
This behavior is consistent in [git](https://github.com/git/git/blob/master/gpg-interface.c\#L63) and [gpgsm](https://github.com/gpg/gnupg/blob/master/sm/sign.c\#L650) which is commonly used to produce these types of signatures.
|
|\ \
| | |
| | |
| | |
| | | |
go-git/dependabot/go_modules/golang.org/x/sys-0.24.0
build: bump golang.org/x/sys from 0.23.0 to 0.24.0
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.24.0)
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
| |
| |
| |
| |
| | |
* adjust path extracted from file: url on Windows
Fixes #415
|
|\ \
| | |
| | | |
Fix some lint warning and increase stalebot to 180 days
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To decrease the noise generated by the stalebot increase the minimum amount
of days to 180 days.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
go-git/dependabot/go_modules/golang.org/x/net-0.28.0
build: bump golang.org/x/net from 0.27.0 to 0.28.0
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
| | |
| | |
| | |
| | |
| | | |
* plumbing: filemode, Remove check for setting size of .git/index file on staging. Fixes #1003
Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
go-git/dependabot/go_modules/golang.org/x/sys-0.23.0
build: bump golang.org/x/sys from 0.22.0 to 0.23.0
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|\ \ \
| | | |
| | | | |
git: worktree, Fix file reported as `Untracked` while it is committed
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The fix for #119 improves the Worktree.Status() behaviour by preloading
all existing files and setting their status to unmodified. Which makes it
more reliable when doing per file status verification, however breaks
backwards compatibility in two ways:
- Increased execution time and space: the preloading can be slow in
very large repositories and will increase memory usage when representing
the state.
- Behaviour: the previous behaviour returned a map with a small subset of
entries. The new behaviour will include a new entry for every file within
the repository.
This commit introduces reverts the change in the default behaviour, and
introduces StatusWithOptions so that users can opt-in the new option.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
it empty. Fixes #119
|
|\ \ \ \
| | | | |
| | | | | |
plumbing: format/packfile, remove duplicate checks in findMatch()
|
| | | | |
| | | | |
| | | | |
| | | | | |
Co-authored-by: onee-only <kimww0306@gmail.com>
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
git: Fix fetching missing commits
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
storage: filesystem, Fix object cache not working due to uninitialised objects being put into cache
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
objects being put into cache; The hash (which is the cache key) returned by the object at the previous put-into-cache point is always zero, so subsequent loads of the same object were never resolved from the cache.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
build: run example tests during CI workflow
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Tests for examples exist, however they were not being run as part of the CI.
This commit fixes it by adding a new step in the test workflow which runs said
tests.
Related to #912.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
plumbing: transport/ssh, Add support for SSH @cert-authority.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
skeema/knownhosts v1.3.0 introduced a HostKeyDB type that extends the HostKeyCallback functionality
to support @cert-authority algorithms.
`known_hosts` files may contain lines with @cert-authority markers to indicate that a line corresponds
to a certificate instead of a key. If a git remote uses cert authorities as the preferred host
identification mechanism, the functionality added in skeema/knownhosts v1.3.0 is needed so that go-git
can interact with this remote.
See https://github.com/skeema/knownhosts/pull/9 for details.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
go-git/dependabot/go_modules/github.com/skeema/knownhosts-1.3.0
build: bump github.com/skeema/knownhosts from 1.2.2 to 1.3.0
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bumps [github.com/skeema/knownhosts](https://github.com/skeema/knownhosts) from 1.2.2 to 1.3.0.
- [Commits](https://github.com/skeema/knownhosts/compare/v1.2.2...v1.3.0)
---
updated-dependencies:
- dependency-name: github.com/skeema/knownhosts
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
plumbing: gitignore, Fix loading of ignored .gitignore files.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Stop loading .gitignore files from ignored directories, as this can
cause files to be included that should not be.
See https://git-scm.com/docs/gitignore#_pattern_format
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
plumbing: transport/file, Change paths to absolute
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
utils: merkletrie, Align error message with upstream
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
go-git/dependabot/go_modules/golang.org/x/net-0.27.0
build: bump golang.org/x/net from 0.26.0 to 0.27.0
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
Fix reference updated concurrently error for the filesystem storer
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If a reference exists in the packed refs file but not in the actual
refs folder, we need to fall back to reading the pack refs file when
storing the reference.
This happens because by the time we are storing the reference, we open
the file with write permissions and read from it. At that point, if the
file is empty, we still need to read the valid reference. Otherwise, it
will read 0, and assume that the references do not match (because the
old value was read from the packed file).
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Revert "Add option approximating `git clean -x` flag."
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add option approximating `git clean -x` flag.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
go-git/dependabot/go_modules/golang.org/x/net-0.26.0
build: bump golang.org/x/net from 0.25.0 to 0.26.0
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
build: bump github.com/elazarl/goproxy from v0.0.0-20230808193330-2592e75ae04a to v0.0.0-20240618083138-03be62527ccb
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
v0.0.0-20230808193330-2592e75ae04a to v0.0.0-20240618083138-03be62527ccb
|