]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5582: remove spurious 'cd "$D"' line
authorMickey Endito <mickey.endito.2323@protonmail.com>
Mon, 23 Aug 2021 20:12:40 +0000 (20:12 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Aug 2021 21:10:19 +0000 (14:10 -0700)
The variable D is never defined in test t5582, more severely the test
fails if D is defined by something outside the test suite, so remove
this spurious line.

Signed-off-by: Mickey Endito <mickey.endito.2323@protonmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5582-fetch-negative-refspec.sh

index e5d2e79ad382a0caeec098e773cc922af21a824b..7a80e47c2b70a8cf64c71fa00289b5abfc158151 100755 (executable)
@@ -105,7 +105,6 @@ test_expect_success "fetch with negative pattern refspec does not expand prefix"
 '
 
 test_expect_success "fetch with negative refspec avoids duplicate conflict" '
-       cd "$D" &&
        (
                cd one &&
                git branch dups/a &&