Commits
- 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:
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:
cf0e59fe1a0f4e26a3cad1593337c6c93245fc02
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong test result check in revert.sh symlink test
- Commit:
c2677d5d89614e1ee741e7db045977d219d097f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix missing return statements in revert.sh symlink test failure cases
- Commit:
369fd7e5fa99b95f7d7aa812b5260584b86a3778
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for symlinks to 'got revert -p'
- Commit:
4901ccfcf00b67f8336de482fe8950e35476998a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a test for 'got revert' with symlinks
- Commit:
15341bfd54bbabbe30297c358faf41ee05e247da
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
trim directories in got remove -R
This is a racy solution that needs to be properly implemented in the future.
ok stsp
- Commit:
a46b9f33fb3018765180eb67cc954d863a5cd525
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug where 'got revert -R' failed on added subtrees
The command could fail with "got: no such entry found in tree".
This problem is reproduced by the regression test added in this commit.
This happened because file index entries were processed in the wrong
order by diff_fileindex_dir(). To fix this, keep removed entries in
the RB tree and skip them when the file index is written out, rather
than removing entries from the RB tree immediately causing side-effects
for RB_NEXT and friends.
- Commit:
fb9704afe0e40de783660e26d5498278a47affca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not display unversioned files during 'got revert -R'
- Commit:
6a5eff7c93868c5577c7d59c31aabc317824b34b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
trim trailing whitespace in revert.sh (patch by Tracey Emery)
- Commit:
3d69ad8dfb2fedd8d5abee1365505c2479e00180
- From:
- Sebastien Marie <semarie@openbsd.org>
- Date:
make 'got revert' to ignore unversioned files instead of aborting with 'bad path'
and add a regress to check the revert isn't aborted anymore
- Commit:
6c6b73bb412843c96a7dca913c41a91827d9018c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix race condition in test_revert_patch_one_change
- Commit:
f1e81a0517df837593350dd932e813563bdc01b8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bug where 'revert -p' would delete all lines following a reverted change
- Commit:
ce2b05c76c2655b619f516e32f44a54d0c8741db
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test reverting the first hunk only with revert -p
- Commit:
33aa809d4fd2e43328dd3ad4897a7394c28c79ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'revert -p'
- Commit:
0f6d7415053c3cb56d6d4bafb624866ae4554f3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement got revert -R
- Commit:
1f1abb7ec22a77662642b62b3740cefc1d8410f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement revert with a status walk to prepare for 'revert -p'
- Commit:
a9fa2909b9b3f681373c249f42a233d89335fc4c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got revert' on files in newly added subdirectories
- Commit:
e20a8b6f0dfe647b8cff3d2fdbc06058793f35d1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow multiple file path arguments for 'got revert'
- Commit:
5e54fb308c7ad735d944068c063de6ac5276b93a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test and fix 'got revert' with a path in a sub-directory
Relax input path requirements of got_object_id_by_path() to
make things easier to callers. Allows the revert code to pass
a path from the file index in lieu of a repository path.
- Commit:
8d301dd94ca3964729aa83b8031e7502a1111f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use cmp -s, instead of cmp, in all command line tests
- Commit:
a129376b6f8adc074c4b53a4f78195ca32b78b1a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add initial implementation of 'got revert'