]> git.ipfire.org Git - thirdparty/git.git/commit
t2400: clean up '"add" worktree with lock' test
authorStephen Manz <smanz@alum.mit.edu>
Sun, 11 Jul 2021 00:27:18 +0000 (00:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jul 2021 16:29:36 +0000 (09:29 -0700)
commitf9365c0a24b9d2346a9b2b5a24e1fa02039f23e5
treedf7ec297ed003cdc51d0affaf6465bd58107f46e
parent670b81a890388c60b7032a4f5b879f2ece8c4558
t2400: clean up '"add" worktree with lock' test

- remove unneeded `git rev-parse` which must have come from a copy-paste
  of another test
- unlock the worktree with test_when_finished

Signed-off-by: Stephen Manz <smanz@alum.mit.edu>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2400-worktree-add.sh