t3513: do not compress backup tar file

The test uses the 'z' option, i.e. "compress the output while at it", which is GNUism and not portable. Reported-by: Armin Kunaschik <megabreit@googlemail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed May 6, 2016 at 11:37 UTC 95f0539edfc5b2e6f8c6c1c5909340ba83521a26
1 file changed +2 -2
t/t3513-revert-submodule.sh
+2 -2
@@ -14,11 +14,11 @@ test_description='revert can handle submodules'
14 git_revert () {
15 git status -su >expect &&
16 ls -1pR * >>expect &&
17 - tar czf "$TRASH_DIRECTORY/tmp.tgz" * &&
17 + tar cf "$TRASH_DIRECTORY/tmp.tar" * &&
18 git checkout "$1" &&
19 git revert HEAD &&
20 rm -rf * &&
21 - tar xzf "$TRASH_DIRECTORY/tmp.tgz" &&
21 + tar xf "$TRASH_DIRECTORY/tmp.tar" &&
22 git status -su >actual &&
23 ls -1pR * >>actual &&
24 test_cmp expect actual &&