Commits
- 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:
10a623dfc23b47f494941e0eac741420c08372a3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort and de-duplicate work tree path command line arguments
This is important in cases like 'got diff file.txt file.txt' which
should only show the diff for file.txt once.
suggested by kn@
- Commit:
ff56836b1637f806bb308057ef9bd6d90b725568
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Make 'got add' always require the -I option in order to add ignored files.
- Commit:
54c39596938ae6d19fe5eede072d36a3f61baa12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
- 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:
00bb5ea05eb54b4ec01ed195104765f7baf80169
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got add' work on symlinks and let 'got status' display them
- Commit:
e7303626967ed721dd323a8a6ea6c638aed46c50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add submodule tests
ok semarie
- Commit:
dbb83fbd81591d01db580caf15e585de893f0b9b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
there's no need to store a directory path in struct schedule_addition_args
ok tracey
- Commit:
022fae89eee20051d352d3dc2b8c64486bdafe93
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.
- Commit:
4e68cba3de6663791e40fa15f1eecbc4a2bf724c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -R option to 'got add' for recursive addition (patch by Tracey Emery)
- Commit:
6d022e974716847d3f3c3bc97dac50e61663c49c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use get_worktree_paths_from_argv consistently; improves add/rm edge cases
Double 'got rm' becomes a no-op like double 'got add' already is,
and 'got add' of an already staged file is now an error.
- Commit:
a9fa2909b9b3f681373c249f42a233d89335fc4c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got revert' on files in newly added subdirectories
- Commit:
8d301dd94ca3964729aa83b8031e7502a1111f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use cmp -s, instead of cmp, in all command line tests
- Commit:
2b01eb6c2d76b941e4ba4c04450a6e18305c86c0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify expected output in test_add_multiple and actually run this test
- Commit:
723c305ce4ed16a470bbf2ced142668b5a633f03
- From:
- joshua stein <jcs@jcs.org>
- Date:
got: support adding multiple files at a time
make adding files already in the file-index not a fatal error
- Commit:
a7c182ac81f43ee290d92ff16781ea0b908c33c3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
missing error return in test_double_add
- Commit:
5c99ca9fe447187c440a413772fb14201f30a1d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix behaviour when 'got add' is used twice
- Commit:
6dbf1e9e5b2341b8ad1683ca4e8d19bfaa5cc8ff
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ironically I forgot to add 'add' regression tests in previous commmit