aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-03 13:48:00 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-03 13:48:00 -0800
commit228c3418356d06d0596408bee1c863e53ca27d58 (patch)
treec31e492269375ccca3cc081b015d26c5f13769df /t
parent17b4e93d5b849293e6a3659bbc4075ed8a6e97e2 (diff)
parentbc0fe84b064d2185e147b7c1f98bb6f9b7966b2c (diff)
downloadgit-228c3418356d06d0596408bee1c863e53ca27d58.tar.gz
git-228c3418356d06d0596408bee1c863e53ca27d58.tar.xz
Merge branch 'maint'
* maint: docs: describe behavior of relative submodule URLs fix hang in git fetch if pointed at a 0 length bundle Documentation: read-tree --prefix works with existing subtrees Add MYMETA.json to perl/.gitignore
Diffstat (limited to 't')
-rwxr-xr-xt/t5704-bundle.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh
index 728ccd88c..4ae127d10 100755
--- a/t/t5704-bundle.sh
+++ b/t/t5704-bundle.sh
@@ -53,4 +53,10 @@ test_expect_failure 'bundle --stdin <rev-list options>' '
'
+test_expect_success 'empty bundle file is rejected' '
+
+ >empty-bundle && test_must_fail git fetch empty-bundle
+
+'
+
test_done