mirror of
https://github.com/git/git.git
synced 2024-12-13 11:54:56 +08:00
Merge branch 'sb/z-is-gnutar-ism' into maint
Test fix. * sb/z-is-gnutar-ism: t6041: do not compress backup tar file t3513: do not compress backup tar file
This commit is contained in:
commit
1f62b9256d
@ -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 &&
|
||||
|
@ -8,7 +8,7 @@ test_description='bisect can handle submodules'
|
||||
git_bisect () {
|
||||
git status -su >expect &&
|
||||
ls -1pR * >>expect &&
|
||||
tar czf "$TRASH_DIRECTORY/tmp.tgz" * &&
|
||||
tar cf "$TRASH_DIRECTORY/tmp.tar" * &&
|
||||
GOOD=$(git rev-parse --verify HEAD) &&
|
||||
git checkout "$1" &&
|
||||
echo "foo" >bar &&
|
||||
@ -20,7 +20,7 @@ git_bisect () {
|
||||
git bisect start &&
|
||||
git bisect good $GOOD &&
|
||||
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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user