diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-03-04 00:26:47 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-06 14:35:42 -0800 |
commit | 7f19def0fc254829839495f7fb44a7d99b161d3d (patch) | |
tree | 16af5374bf916960456ab7b3c2a84448f6c3e567 /contrib/git-shell-commands | |
parent | worktree remove: allow it when $GIT_WORK_TREE is already gone (diff) | |
download | tgif-7f19def0fc254829839495f7fb44a7d99b161d3d.tar.xz |
t2028: fix minor error and issues in newly-added "worktree move" tests
Recently-added "git worktree move" tests include a minor error and a few
small issues. Specifically:
* checking non-existence of wrong file ("source" instead of
"destination")
* unneeded redirect (">empty")
* unused variable ("toplevel")
* restoring a worktree location by means of a separate test somewhat
distant from the test which moved it rather than using
test_when_finished() to restore it in a self-contained fashion
* having git command on the left-hand-side of a pipe ("git foo | grep")
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Acked-by: Duy Nguyen <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/git-shell-commands')
0 files changed, 0 insertions, 0 deletions