summaryrefslogtreecommitdiffstats
path: root/t/t5582-fetch-negative-refspec.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5582-fetch-negative-refspec.sh')
-rwxr-xr-xt/t5582-fetch-negative-refspec.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t5582-fetch-negative-refspec.sh b/t/t5582-fetch-negative-refspec.sh
index 7fa54a4029..b21bf2057d 100755
--- a/t/t5582-fetch-negative-refspec.sh
+++ b/t/t5582-fetch-negative-refspec.sh
@@ -283,4 +283,8 @@ test_expect_success '--prefetch succeeds when refspec becomes empty' '
git -C one fetch --prefetch
'
+test_expect_success '--prefetch succeeds with empty command line refspec' '
+ git -C one fetch --prefetch origin +refs/tags/extra
+'
+
test_done