Skip to content

Commit f5ee54a

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 95f0539 commit f5ee54a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t6041-bisect-submodule.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test_description='bisect can handle submodules'
88
git_bisect () {
99
git status -su >expect &&
1010
ls -1pR * >>expect &&
11-
tar czf "$TRASH_DIRECTORY/tmp.tgz" * &&
11+
tar cf "$TRASH_DIRECTORY/tmp.tar" * &&
1212
GOOD=$(git rev-parse --verify HEAD) &&
1313
git checkout "$1" &&
1414
echo "foo" >bar &&
@@ -20,7 +20,7 @@ git_bisect () {
2020
git bisect start &&
2121
git bisect good $GOOD &&
2222
rm -rf * &&
23-
tar xzf "$TRASH_DIRECTORY/tmp.tgz" &&
23+
tar xf "$TRASH_DIRECTORY/tmp.tar" &&
2424
git status -su >actual &&
2525
ls -1pR * >>actual &&
2626
test_cmp expect actual &&

0 commit comments

Comments
 (0)