Commits
- Commit:
885e96dfba200f362ddd1d9795740251bcb6e39b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace "sed -i" with ed(1) for portable in-place editing
"sed -i" is fundamentally unportable. GNU and OpenBSD sed(1) treat
the extension for the backup file as an optional argument and use
"sed -i" for no backup file. FreeBSD sed(1) treats the extension
as an obligatory argument and uses "sed -i ''" for no backup file.
There is no single syntax that works for both.
ok stsp op
- Commit:
f55db25a40103e9990a713a4f61d37686d786194
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace unportable ln -h option with rm && ln
ok stsp
- Commit:
249b637c505366856603a932c859a0baf1973d10
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
have ignore patterns with trailing slashes match directories only
ok jamsek
- Commit:
c9003c52fc7f70dd988402560adcd22709e74800
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
hide unexpected diff output from xfail test
- Commit:
8a86203b94a0368ac2f3e88dfcd269e601b4beb4
- From:
- Lucas <lucas@sexy.is>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add xfail test for 'got status' ignore patterns with a trailing slash
Patch by Lucas
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
2c8899b952f67f90ab3a26b4331491832fe93c8a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop (needless?) sleep(1) in status.sh
ok stsp
- Commit:
c036d108ac767e1676aa3482997c193e0056c7e0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
redirect jot(1) output instead of looping over it; ok tb@
- 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:
a84c0d302fea1f440dfc5b1e70dac59cc50e31f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got status' with an obstructed file given as argument; found by Omar
- Commit:
8f2ca62d67489d1f75ac4eb42590a9b720c66ccc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not skip ignored directories in 'got status' if they contain tracked files
Fixes regression introduced by commit 41f061b2f459318f3738f59d7676efccc4beb344
where tracked files inside an ignored directory were reported as missing.
- 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:
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:
e3a46353dce2f604254675a385e8871bee794d32
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify that 'got status -s' and 'got status -S' cannot be used together
- Commit:
4f3c844beaeb6a0b30565833e0481b8de9a5106e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got update' display the worktree's branch name upon success
ok tracey
- Commit:
67c65ed764e7542fc784be76cd535c4073c813c3
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add tests for checkout -q, update -q, and status -S. ok stsp
- Commit:
f6343036aa4d7e3805a44832b566b531271c1c6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
new -I option for 'got status' to show files which match an ignore pattern
- Commit:
54c39596938ae6d19fe5eede072d36a3f61baa12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
- Commit:
4a26d3f877326c99bcf462b076800a112319ff6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug where 'got status' showed an unchanged empty file as changed
- Commit:
f6cae3ed1ef0c22150181eeebb8f9e97db99dc5a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch function declarations from Korn shell to Bourne/POSIX shell syntax
ok stsp
- Commit:
081470ac52a4d68384a33f36bdd0d3096d6cf772
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -s option to 'got status' which acts as a status code filter
Advantages over using grep are that the list of codes is validated against
a list of known status codes, and that it is easier to match staged files
which can display status codes in one or both of two columns.
Prompted by feedback from krw@
- 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:
d4ae64fa3ef3d9a996705303b38cf75eda7a996d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
extend test_status_symlink to cover removal and modification of symlinks
- Commit:
00bb5ea05eb54b4ec01ed195104765f7baf80169
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got add' work on symlinks and let 'got status' display them
- Commit:
3143d852d788e42c45a61252acb935a698efed2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix ignores when a path is passed to 'got status'
Problem reported by semarie, who also provided initial regression test code.
ok semarie