diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-15 12:40:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-15 12:40:51 -0700 |
commit | e1a3f17e9d81f88ed5e62d01252167daa597e5a5 (patch) | |
tree | 699a5a972d091f0161a8d47943a661273d61f221 /t | |
parent | Merge branch 'jk/show-branch-strbuf' (diff) | |
parent | bundle: Accept prerequisites without commit messages (diff) | |
download | tgif-e1a3f17e9d81f88ed5e62d01252167daa597e5a5.tar.xz |
Merge branch 'lf/bundle-with-tip-wo-message'
"git bundle" did not like a bundle created using a commit without
any message as its one of the prerequistes.
* lf/bundle-with-tip-wo-message:
bundle: Accept prerequisites without commit messages
Diffstat (limited to 't')
-rwxr-xr-x | t/t5704-bundle.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh index 9e43731fe5..a45c31692e 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 |