diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-04-14 18:37:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-14 18:37:16 -0700 |
commit | 1d1cbe224f280be2a270274a4e843ceccbe1a030 (patch) | |
tree | cb5a1a882a7ed4421ed9bead859f1a01716afacc /t | |
parent | Merge branch 'ss/exc-flag-is-a-collection-of-bits' into maint (diff) | |
parent | index-pack: add a helper function to derive .idx/.keep filename (diff) | |
download | tgif-1d1cbe224f280be2a270274a4e843ceccbe1a030.tar.xz |
Merge branch 'jc/index-pack' into maint
Code clean-up.
* jc/index-pack:
index-pack: add a helper function to derive .idx/.keep filename
index-pack: correct --keep[=<msg>]
Diffstat (limited to 't')
-rwxr-xr-x | t/t5300-pack-object.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index fc2be63e02..899e52d50f 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -284,6 +284,12 @@ test_expect_success \ git index-pack test-3.pack && cmp test-3.idx test-3-${packname_3}.idx && + cat test-1-${packname_1}.pack >test-4.pack && + rm -f test-4.keep && + git index-pack --keep=why test-4.pack && + cmp test-1-${packname_1}.idx test-4.idx && + test -f test-4.keep && + :' test_expect_success 'unpacking with --strict' ' |