]> git.ipfire.org Git - thirdparty/git.git/commit - t/t2402-worktree-list.sh
t2402: test worktree path when called in .git directory
authorHariom Verma <hariom18599@gmail.com>
Wed, 4 Mar 2020 07:00:00 +0000 (07:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Mar 2020 21:28:00 +0000 (13:28 -0800)
commit4d864895a23bbbb5403d9aa8a65d0576d2029597
tree36d20c16ea399450fe49a40763776eb6f41a9641
parent4ef346482d6d5748861c1aa9d56712e847369b40
t2402: test worktree path when called in .git directory

The bug which reports an extra `/.git/.` in worktree path when called in
'.git' directory already has been fixed. But unfortunately, the regression
test to ensure this behavior has been forgotten.
Here is that test.

Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Hariom Verma <hariom18599@gmail.com>
Acked-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2402-worktree-list.sh