]> git.99rst.org Git - git.git/commitdiff
t5582: remove spurious 'cd "$D"' line
authorMickey Endito <redacted>
Mon, 23 Aug 2021 20:12:40 +0000 (20:12 +0000)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
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 &&
git clone https://git.99rst.org/PROJECT