t5505/t5516: fix white-space around redirectors

The convention in Git project's shell scripts is to have white-space
_before_, but not _after_ the `>` (or `<`).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2020-05-09 19:24:23 +02:00
Родитель 29b2ed7cfb
Коммит c4548b601a
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -835,8 +835,8 @@ test_expect_success '"remote show" does not show symbolic refs' '
( (
cd three && cd three &&
git remote show origin >output && git remote show origin >output &&
! grep "^ *HEAD$" < output && ! grep "^ *HEAD$" <output &&
! grep -i stale < output ! grep -i stale <output
) )
' '
@ -1044,7 +1044,7 @@ test_expect_success 'migrate a remote from named file in $GIT_DIR/branches (2)'
cd seven && cd seven &&
git remote rm origin && git remote rm origin &&
mkdir -p .git/branches && mkdir -p .git/branches &&
echo "quux#foom" > .git/branches/origin && echo "quux#foom" >.git/branches/origin &&
git remote rename origin origin && git remote rename origin origin &&
test_path_is_missing .git/branches/origin && test_path_is_missing .git/branches/origin &&
test "$(git config remote.origin.url)" = "quux" && test "$(git config remote.origin.url)" = "quux" &&

Просмотреть файл

@ -946,7 +946,7 @@ test_expect_success 'fetch with branches' '
git branch second $the_first_commit && git branch second $the_first_commit &&
git checkout second && git checkout second &&
mkdir -p testrepo/.git/branches && mkdir -p testrepo/.git/branches &&
echo ".." > testrepo/.git/branches/branch1 && echo ".." >testrepo/.git/branches/branch1 &&
( (
cd testrepo && cd testrepo &&
git fetch branch1 && git fetch branch1 &&
@ -960,7 +960,7 @@ test_expect_success 'fetch with branches' '
test_expect_success 'fetch with branches containing #' ' test_expect_success 'fetch with branches containing #' '
mk_empty testrepo && mk_empty testrepo &&
mkdir -p testrepo/.git/branches && mkdir -p testrepo/.git/branches &&
echo "..#second" > testrepo/.git/branches/branch2 && echo "..#second" >testrepo/.git/branches/branch2 &&
( (
cd testrepo && cd testrepo &&
git fetch branch2 && git fetch branch2 &&
@ -977,7 +977,7 @@ test_expect_success 'push with branches' '
test_when_finished "rm -rf .git/branches" && test_when_finished "rm -rf .git/branches" &&
mkdir -p .git/branches && mkdir -p .git/branches &&
echo "testrepo" > .git/branches/branch1 && echo "testrepo" >.git/branches/branch1 &&
git push branch1 && git push branch1 &&
( (
@ -993,7 +993,7 @@ test_expect_success 'push with branches containing #' '
test_when_finished "rm -rf .git/branches" && test_when_finished "rm -rf .git/branches" &&
mkdir -p .git/branches && mkdir -p .git/branches &&
echo "testrepo#branch3" > .git/branches/branch2 && echo "testrepo#branch3" >.git/branches/branch2 &&
git push branch2 && git push branch2 &&
( (
@ -1522,7 +1522,7 @@ EOF
git init no-thin && git init no-thin &&
git --git-dir=no-thin/.git config receive.unpacklimit 0 && git --git-dir=no-thin/.git config receive.unpacklimit 0 &&
git push no-thin/.git refs/heads/main:refs/heads/foo && git push no-thin/.git refs/heads/main:refs/heads/foo &&
echo modified >> path1 && echo modified >>path1 &&
git commit -am modified && git commit -am modified &&
git repack -adf && git repack -adf &&
rcvpck="git receive-pack --reject-thin-pack-for-testing" && rcvpck="git receive-pack --reject-thin-pack-for-testing" &&