Skip to content

Commit f3258d3

Browse files
committed
t5519: do not assume the "matching" push is the default
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 93912fd commit f3258d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

t/t5519-push-alternates.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test_expect_success 'alice works and pushes' '
4040
cd alice-work &&
4141
echo more >file &&
4242
git commit -a -m second &&
43-
git push ../alice-pub
43+
git push ../alice-pub :
4444
)
4545
'
4646

@@ -57,7 +57,7 @@ test_expect_success 'bob fetches from alice, works and pushes' '
5757
git pull ../alice-pub master &&
5858
echo more bob >file &&
5959
git commit -a -m third &&
60-
git push ../bob-pub
60+
git push ../bob-pub :
6161
) &&
6262
6363
# Check that the second commit by Alice is not sent
@@ -86,7 +86,7 @@ test_expect_success 'alice works and pushes again' '
8686
cd alice-work &&
8787
echo more alice >file &&
8888
git commit -a -m fourth &&
89-
git push ../alice-pub
89+
git push ../alice-pub :
9090
)
9191
'
9292

@@ -99,7 +99,7 @@ test_expect_success 'bob works and pushes' '
9999
cd bob-work &&
100100
echo yet more bob >file &&
101101
git commit -a -m fifth &&
102-
git push ../bob-pub
102+
git push ../bob-pub :
103103
)
104104
'
105105

@@ -115,7 +115,7 @@ test_expect_success 'alice works and pushes yet again' '
115115
git commit -a -m sixth.2 &&
116116
echo more and more alice >>file &&
117117
git commit -a -m sixth.3 &&
118-
git push ../alice-pub
118+
git push ../alice-pub :
119119
)
120120
'
121121

@@ -136,7 +136,7 @@ test_expect_success 'bob works and pushes again' '
136136
git hash-object -t commit -w commit &&
137137
echo even more bob >file &&
138138
git commit -a -m seventh &&
139-
git push ../bob-pub
139+
git push ../bob-pub :
140140
)
141141
'
142142

0 commit comments

Comments
 (0)