Commits
- Commit:
335f82b6f3b702d2a7d45b89da6b85f52884811b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump checkout_ulimit_n test file descriptor limit a bit; failure seen on arm64
- Commit:
f4c9dec92bd75a62c102fe6bca9acabc9b657867
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a subshell to avoid changing the global ulimit; suggested by op@
- Commit:
5753b4a9eb064cbf57b2a9299ad7bdc4a53efecb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
respect resource limit for number of open files when sizing the pack file cache
ok op@
- Commit:
b2b3fce13e4eca588bb28a869b07f0063568b505
- From:
- Omar Polo <op@omarpolo.com>
- Date:
respect umask when creating or changing files and directories
This behaviour is already documented in got-worktree(5) but wasn't
actually implemented.
ok stsp@
- Commit:
f1aec6edf3cf139d631d740ffc7f9428c913685c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix regression test failures with Git 3.30.5 / 2.38.1 or later installed
The fix for CVE-2022-39253 in Git made our regression tests fail since
creating submodules from local clones is no longer allowed by default.
Add an override to our invocations of "git submodule add", the same
which was added to Git's regression test suite as part of their fix.
This CVE doesn't otherwise affect us. We do not implement submodules.
Our use of them in regression tests exists only to ensure that Got does not
freak out when it sees one. Precisely because automated support for nested
repositories and/or working copies (as in Git Submodules, or Subversion
Externals, etc.) have been an endless source of security problems in
other systems.
sudden test failures pointed out by naddy@
- Commit:
49c543a6fe888394ca86e6399c706a9965486134
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use test(1) -eq and -ne to compare integers, and reduce quoting
This brings the rest of the regression test scripts in line with
patch.sh.
- Commit:
67d7451ca0b909687a2689243077b8d7edb65102
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
shell code fixes
Escape sequences are not handled by every echo(1), e.g. not on FreeBSD.
'?' is a glob character and must be quoted.
'!' is not a shell meta character.
ok tracey stsp
- Commit:
67c65ed764e7542fc784be76cd535c4073c813c3
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add tests for checkout -q, update -q, and status -S. ok stsp
- Commit:
08e5873e99dff11184476ccc3186fbd2a97a2e0b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got checkout' display the checked out reference and commit ID
ok tracey
- Commit:
e67867107a97eae4801a85636493efb4239a61cd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mention 'gotadmin cleanup' wherever Git's garbage collector is mentioned
- Commit:
54c39596938ae6d19fe5eede072d36a3f61baa12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
- Commit:
20b7abb3fa8e5b46bacd07df9f85cfd7edc5a4c9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect unknown repository format extensions (such as sha256 format)
ok millert
- Commit:
f6cae3ed1ef0c22150181eeebb8f9e97db99dc5a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch function declarations from Korn shell to Bourne/POSIX shell syntax
ok stsp
- Commit:
7fb414ae4d46ebdaeff458477ba801f9ad5853c4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a -q option to tests for quiet output and use it for 'make regress'
Previous default output remains when test cases are run individually.
ok tracey
- Commit:
41806587196ab5f410de18aee2567cac7deb5d6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix missing 'return 1' in commit.sh test failure cases
- Commit:
b7422a2f5c775615ff397e14c04aa9c9a41504c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop using realpath(3) to resolve a symlink target in install_symlink()
We should not resolve a symlink target path recursively when installing a
symlink in the work tree. We want to handle this symlink's target, not the
end result of following a chain of symlinks in case such links already exist.
- Commit:
3b9f0f87ff620ce7d6ad75195b0c67425bc96ab7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle additional symlink conflicts and report skipping of unversioned files
- Commit:
7d61d89137e4704e685dacfcfb71a42a87ba9f78
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix checkout of symlinks when a relative work tree path is given
- Commit:
906c123b76844b1bba457451f3571b64afa77006
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not allow symlinks pointing into the .got directory; noticed by semarie
- Commit:
0ab20ee9ead0bcdb626ef9fb52d63f58e13082a5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix handling of symlinks to a nonexistent target
- Commit:
8ba819a3547825c0e0d657a7e41610da16f6cd4f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got checkout' create symlinks in a work tree
- Commit:
4da1bbe9cccd432c3afb675e07eedc58bc12ae31
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix return statement in test_checkout_into_nonempty_dir failure case
- Commit:
e7303626967ed721dd323a8a6ea6c638aed46c50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add submodule tests
ok semarie
- Commit:
4b6c9460c99283f193f32bd5177bb09047abacf3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
be helpful when users try to check out work trees without a known branch
Provide a useful error message in such cases and explicitly document
intentional restrictions in the got(1) man page.
Prompted by a question from Adam Steen via bsd.network
https://bsd.network/@adams/103768951483318235
- Commit:
bb51a5b4af467a42569e19cbeeeeccbb44d946f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -E option to 'got checkout' allowing use of a non-empty work tree path
needed by and ok kn@