diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-21 14:03:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-21 14:03:04 -0700 |
commit | e9bebbb67c023137b28236f821f1dd68c837ebd7 (patch) | |
tree | 6db7efdff6541bdb9a7dac98c606cc6015acc58d /t | |
parent | Merge branch 'mn/send-email-works-with-credential' (diff) | |
parent | archive-zip: fix compressed size for stored export-subst files (diff) | |
download | tgif-e9bebbb67c023137b28236f821f1dd68c837ebd7.tar.xz |
Merge branch 'rs/zip-compresssed-size-with-export-subst'
When export-subst is used, "zip" output recorded incorrect
size of the file.
* rs/zip-compresssed-size-with-export-subst:
archive-zip: fix compressed size for stored export-subst files
Diffstat (limited to 't')
-rwxr-xr-x | t/t5003-archive-zip.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t5003-archive-zip.sh b/t/t5003-archive-zip.sh index 7cfe9ca3da..6a33606d28 100755 --- a/t/t5003-archive-zip.sh +++ b/t/t5003-archive-zip.sh @@ -76,6 +76,12 @@ test_expect_success \ git update-ref HEAD $(TZ=GMT GIT_COMMITTER_DATE="2005-05-27 22:00:00" \ git commit-tree $treeid </dev/null)' +test_expect_success 'setup export-subst' ' + echo "substfile?" export-subst >>.git/info/attributes && + git log --max-count=1 "--pretty=format:A${SUBSTFORMAT}O" HEAD \ + >a/substfile1 +' + test_expect_success \ 'create bare clone' \ 'git clone --bare . bare.git && |