Skip to content

Commit efc2a0a

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
Merge this early to resolve merge conflicts early. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 0cb259a + 5e02fdb commit efc2a0a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

t/t5505-remote.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -951,8 +951,8 @@ test_expect_success '"remote show" does not show symbolic refs' '
951951
(
952952
cd three &&
953953
git remote show origin >output &&
954-
! grep "^ *HEAD$" < output &&
955-
! grep -i stale < output
954+
! grep "^ *HEAD$" <output &&
955+
! grep -i stale <output
956956
)
957957
'
958958

@@ -1155,7 +1155,7 @@ test_expect_success !WITH_BREAKING_CHANGES 'migrate a remote from named file in
11551155
(
11561156
cd six &&
11571157
git remote rm origin &&
1158-
mkdir .git/branches &&
1158+
mkdir -p .git/branches &&
11591159
echo "$origin_url#main" >.git/branches/origin &&
11601160
git remote rename origin origin &&
11611161
test_path_is_missing .git/branches/origin &&
@@ -1170,8 +1170,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'migrate a remote from named file in
11701170
(
11711171
cd seven &&
11721172
git remote rm origin &&
1173-
mkdir .git/branches &&
1174-
echo "quux#foom" > .git/branches/origin &&
1173+
mkdir -p .git/branches &&
1174+
echo "quux#foom" >.git/branches/origin &&
11751175
git remote rename origin origin &&
11761176
test_path_is_missing .git/branches/origin &&
11771177
test "$(git config remote.origin.url)" = "quux" &&

t/t5516-fetch-push.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'fetch with branches' '
933933
mk_empty testrepo &&
934934
git branch second $the_first_commit &&
935935
git checkout second &&
936-
mkdir testrepo/.git/branches &&
937-
echo ".." > testrepo/.git/branches/branch1 &&
936+
mkdir -p testrepo/.git/branches &&
937+
echo ".." >testrepo/.git/branches/branch1 &&
938938
(
939939
cd testrepo &&
940940
git fetch branch1 &&
@@ -947,8 +947,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'fetch with branches' '
947947

948948
test_expect_success !WITH_BREAKING_CHANGES 'fetch with branches containing #' '
949949
mk_empty testrepo &&
950-
mkdir testrepo/.git/branches &&
951-
echo "..#second" > testrepo/.git/branches/branch2 &&
950+
mkdir -p testrepo/.git/branches &&
951+
echo "..#second" >testrepo/.git/branches/branch2 &&
952952
(
953953
cd testrepo &&
954954
git fetch branch2 &&
@@ -964,8 +964,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'push with branches' '
964964
git checkout second &&
965965
966966
test_when_finished "rm -rf .git/branches" &&
967-
mkdir .git/branches &&
968-
echo "testrepo" > .git/branches/branch1 &&
967+
mkdir -p .git/branches &&
968+
echo "testrepo" >.git/branches/branch1 &&
969969
970970
git push branch1 &&
971971
(
@@ -980,8 +980,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'push with branches containing #' '
980980
mk_empty testrepo &&
981981
982982
test_when_finished "rm -rf .git/branches" &&
983-
mkdir .git/branches &&
984-
echo "testrepo#branch3" > .git/branches/branch2 &&
983+
mkdir -p .git/branches &&
984+
echo "testrepo#branch3" >.git/branches/branch2 &&
985985
986986
git push branch2 &&
987987
(
@@ -1511,7 +1511,7 @@ EOF
15111511
git init no-thin &&
15121512
git --git-dir=no-thin/.git config receive.unpacklimit 0 &&
15131513
git push no-thin/.git refs/heads/main:refs/heads/foo &&
1514-
echo modified >> path1 &&
1514+
echo modified >>path1 &&
15151515
git commit -am modified &&
15161516
git repack -adf &&
15171517
rcvpck="git receive-pack --reject-thin-pack-for-testing" &&

0 commit comments

Comments
 (0)