t6041: 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 9, 2016 at 10:09 UTC f5ee54aab1b68dc4810e71460028cee191186be4
1 file changed +2 -2
t/t6041-bisect-submodule.sh
+2 -2
@@ -8,7 +8,7 @@ test_description='bisect can handle submodules'
8 git_bisect () {
9 git status -su >expect &&
10 ls -1pR * >>expect &&
11 - tar czf "$TRASH_DIRECTORY/tmp.tgz" * &&
11 + tar cf "$TRASH_DIRECTORY/tmp.tar" * &&
12 GOOD=$(git rev-parse --verify HEAD) &&
13 git checkout "$1" &&
14 echo "foo" >bar &&
@@ -20,7 +20,7 @@ git_bisect () {
20 git bisect start &&
21 git bisect good $GOOD &&
22 rm -rf * &&
23 - tar xzf "$TRASH_DIRECTORY/tmp.tgz" &&
23 + tar xf "$TRASH_DIRECTORY/tmp.tar" &&
24 git status -su >actual &&
25 ls -1pR * >>actual &&
26 test_cmp expect actual &&