summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-22 18:26:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-22 18:26:55 (GMT)
commit2903c28ebb04ad99722cd0f99a4fe09c5f3e8aa0 (patch)
tree941d127c6d58691c6d4a882f36ffc4f9bcc5d002 /t
parent13e11087fed94279a5364dd87230586fb87baf8b (diff)
parent5446e33f35d6b27b6b760a59a6ded33fbd555190 (diff)
downloadgit-2903c28ebb04ad99722cd0f99a4fe09c5f3e8aa0.zip
git-2903c28ebb04ad99722cd0f99a4fe09c5f3e8aa0.tar.gz
git-2903c28ebb04ad99722cd0f99a4fe09c5f3e8aa0.tar.bz2
Merge branch 'lf/bundle-with-tip-wo-message' into maint
* lf/bundle-with-tip-wo-message: bundle: Accept prerequisites without commit messages
Diffstat (limited to 't')
-rwxr-xr-xt/t5704-bundle.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh
index 9e43731..a45c316 100755
--- a/t/t5704-bundle.sh
+++ b/t/t5704-bundle.sh
@@ -58,4 +58,14 @@ test_expect_success 'ridiculously long subject in boundary' '
grep "^-[0-9a-f]\\{40\\} " boundary
'
+test_expect_success 'prerequisites with an empty commit message' '
+ : >file1 &&
+ git add file1 &&
+ test_tick &&
+ git commit --allow-empty-message -m "" &&
+ test_commit file2 &&
+ git bundle create bundle HEAD^.. &&
+ git bundle verify bundle
+'
+
test_done