@@ -981,7 +981,7 @@ test_expect_success 'fetch with branches' '
981981 git branch second $the_first_commit &&
982982 git checkout second &&
983983 mkdir -p testrepo/.git/branches &&
984- echo ".." > testrepo/.git/branches/branch1 &&
984+ echo ".." >testrepo/.git/branches/branch1 &&
985985 (
986986 cd testrepo &&
987987 git fetch branch1 &&
@@ -995,7 +995,7 @@ test_expect_success 'fetch with branches' '
995995test_expect_success ' fetch with branches containing #' '
996996 mk_empty testrepo &&
997997 mkdir -p testrepo/.git/branches &&
998- echo "..#second" > testrepo/.git/branches/branch2 &&
998+ echo "..#second" >testrepo/.git/branches/branch2 &&
999999 (
10001000 cd testrepo &&
10011001 git fetch branch2 &&
@@ -1012,7 +1012,7 @@ test_expect_success 'push with branches' '
10121012
10131013 test_when_finished "rm -rf .git/branches" &&
10141014 mkdir -p .git/branches &&
1015- echo "testrepo" > .git/branches/branch1 &&
1015+ echo "testrepo" >.git/branches/branch1 &&
10161016
10171017 git push branch1 &&
10181018 (
@@ -1028,7 +1028,7 @@ test_expect_success 'push with branches containing #' '
10281028
10291029 test_when_finished "rm -rf .git/branches" &&
10301030 mkdir -p .git/branches &&
1031- echo "testrepo#branch3" > .git/branches/branch2 &&
1031+ echo "testrepo#branch3" >.git/branches/branch2 &&
10321032
10331033 git push branch2 &&
10341034 (
@@ -1557,7 +1557,7 @@ EOF
15571557 git init no-thin &&
15581558 git --git-dir=no-thin/.git config receive.unpacklimit 0 &&
15591559 git push no-thin/.git refs/heads/main:refs/heads/foo &&
1560- echo modified >> path1 &&
1560+ echo modified >>path1 &&
15611561 git commit -am modified &&
15621562 git repack -adf &&
15631563 rcvpck="git receive-pack --reject-thin-pack-for-testing" &&
0 commit comments