summaryrefslogtreecommitdiff
path: root/t/t3513-revert-submodule.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-17 14:38:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-17 14:38:21 -0700
commit2049e7e19a1610bb1d05d926b355e4ec1448f598 (patch)
tree8161db44291be8abdc11a947d85dabb56a115cea /t/t3513-revert-submodule.sh
parentMerge branch 'lp/typofixes' (diff)
parentt6041: do not compress backup tar file (diff)
downloadtgif-2049e7e19a1610bb1d05d926b355e4ec1448f598.tar.xz
Merge branch 'sb/z-is-gnutar-ism'
* sb/z-is-gnutar-ism: t6041: do not compress backup tar file t3513: do not compress backup tar file
Diffstat (limited to 't/t3513-revert-submodule.sh')
-rwxr-xr-xt/t3513-revert-submodule.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3513-revert-submodule.sh b/t/t3513-revert-submodule.sh
index a1c4e0216f..db9378142a 100755
--- a/t/t3513-revert-submodule.sh
+++ b/t/t3513-revert-submodule.sh
@@ -14,11 +14,11 @@ test_description='revert can handle submodules'
git_revert () {
git status -su >expect &&
ls -1pR * >>expect &&
- tar czf "$TRASH_DIRECTORY/tmp.tgz" * &&
+ tar cf "$TRASH_DIRECTORY/tmp.tar" * &&
git checkout "$1" &&
git revert HEAD &&
rm -rf * &&
- tar xzf "$TRASH_DIRECTORY/tmp.tgz" &&
+ tar xf "$TRASH_DIRECTORY/tmp.tar" &&
git status -su >actual &&
ls -1pR * >>actual &&
test_cmp expect actual &&