Skip to content

Commit 0633324

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 f69e9cd + c9858c5 commit 0633324

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
@@ -986,8 +986,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'fetch with branches' '
986986
mk_empty testrepo &&
987987
git branch second $the_first_commit &&
988988
git checkout second &&
989-
mkdir testrepo/.git/branches &&
990-
echo ".." > testrepo/.git/branches/branch1 &&
989+
mkdir -p testrepo/.git/branches &&
990+
echo ".." >testrepo/.git/branches/branch1 &&
991991
(
992992
cd testrepo &&
993993
git fetch branch1 &&
@@ -1000,8 +1000,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'fetch with branches' '
10001000

10011001
test_expect_success !WITH_BREAKING_CHANGES 'fetch with branches containing #' '
10021002
mk_empty testrepo &&
1003-
mkdir testrepo/.git/branches &&
1004-
echo "..#second" > testrepo/.git/branches/branch2 &&
1003+
mkdir -p testrepo/.git/branches &&
1004+
echo "..#second" >testrepo/.git/branches/branch2 &&
10051005
(
10061006
cd testrepo &&
10071007
git fetch branch2 &&
@@ -1017,8 +1017,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'push with branches' '
10171017
git checkout second &&
10181018
10191019
test_when_finished "rm -rf .git/branches" &&
1020-
mkdir .git/branches &&
1021-
echo "testrepo" > .git/branches/branch1 &&
1020+
mkdir -p .git/branches &&
1021+
echo "testrepo" >.git/branches/branch1 &&
10221022
10231023
git push branch1 &&
10241024
(
@@ -1033,8 +1033,8 @@ test_expect_success !WITH_BREAKING_CHANGES 'push with branches containing #' '
10331033
mk_empty testrepo &&
10341034
10351035
test_when_finished "rm -rf .git/branches" &&
1036-
mkdir .git/branches &&
1037-
echo "testrepo#branch3" > .git/branches/branch2 &&
1036+
mkdir -p .git/branches &&
1037+
echo "testrepo#branch3" >.git/branches/branch2 &&
10381038
10391039
git push branch2 &&
10401040
(
@@ -1564,7 +1564,7 @@ EOF
15641564
git init no-thin &&
15651565
git --git-dir=no-thin/.git config receive.unpacklimit 0 &&
15661566
git push no-thin/.git refs/heads/main:refs/heads/foo &&
1567-
echo modified >> path1 &&
1567+
echo modified >>path1 &&
15681568
git commit -am modified &&
15691569
git repack -adf &&
15701570
rcvpck="git receive-pack --reject-thin-pack-for-testing" &&

0 commit comments

Comments
 (0)