File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ test_description='revert can handle submodules'
14
14
git_revert () {
15
15
git status -su > expect &&
16
16
ls -1pR * >> expect &&
17
- tar czf " $TRASH_DIRECTORY /tmp.tgz " * &&
17
+ tar cf " $TRASH_DIRECTORY /tmp.tar " * &&
18
18
git checkout " $1 " &&
19
19
git revert HEAD &&
20
20
rm -rf * &&
21
- tar xzf " $TRASH_DIRECTORY /tmp.tgz " &&
21
+ tar xf " $TRASH_DIRECTORY /tmp.tar " &&
22
22
git status -su > actual &&
23
23
ls -1pR * >> actual &&
24
24
test_cmp expect actual &&
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ test_description='bisect can handle submodules'
8
8
git_bisect () {
9
9
git status -su > expect &&
10
10
ls -1pR * >> expect &&
11
- tar czf " $TRASH_DIRECTORY /tmp.tgz " * &&
11
+ tar cf " $TRASH_DIRECTORY /tmp.tar " * &&
12
12
GOOD=$( git rev-parse --verify HEAD) &&
13
13
git checkout " $1 " &&
14
14
echo " foo" > bar &&
@@ -20,7 +20,7 @@ git_bisect () {
20
20
git bisect start &&
21
21
git bisect good $GOOD &&
22
22
rm -rf * &&
23
- tar xzf " $TRASH_DIRECTORY /tmp.tgz " &&
23
+ tar xf " $TRASH_DIRECTORY /tmp.tar " &&
24
24
git status -su > actual &&
25
25
ls -1pR * >> actual &&
26
26
test_cmp expect actual &&
You can’t perform that action at this time.
0 commit comments