t5519: do not assume the "matching" push is the default
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jan 4, 2013 at 16:10 UTC
f3258d3d95cc9e0a3fe6255df8b72b444545c0aa
1 file changed
+6
-6
t/t5519-push-alternates.sh
+6
-6
@@ -40,7 +40,7 @@ test_expect_success 'alice works and pushes' '
40
cd alice-work &&
41
echo more >file &&
42
git commit -a -m second &&
43
- git push ../alice-pub
43
+ git push ../alice-pub :
44
)
45
'
46
@@ -57,7 +57,7 @@ test_expect_success 'bob fetches from alice, works and pushes' '
57
git pull ../alice-pub master &&
58
echo more bob >file &&
59
git commit -a -m third &&
60
- git push ../bob-pub
60
+ git push ../bob-pub :
61
) &&
62
63
# Check that the second commit by Alice is not sent
@@ -86,7 +86,7 @@ test_expect_success 'alice works and pushes again' '
86
cd alice-work &&
87
echo more alice >file &&
88
git commit -a -m fourth &&
89
- git push ../alice-pub
89
+ git push ../alice-pub :
90
)
91
'
92
@@ -99,7 +99,7 @@ test_expect_success 'bob works and pushes' '
99
cd bob-work &&
100
echo yet more bob >file &&
101
git commit -a -m fifth &&
102
- git push ../bob-pub
102
+ git push ../bob-pub :
103
)
104
'
105
@@ -115,7 +115,7 @@ test_expect_success 'alice works and pushes yet again' '
115
git commit -a -m sixth.2 &&
116
echo more and more alice >>file &&
117
git commit -a -m sixth.3 &&
118
- git push ../alice-pub
118
+ git push ../alice-pub :
119
)
120
'
121
@@ -136,7 +136,7 @@ test_expect_success 'bob works and pushes again' '
136
git hash-object -t commit -w commit &&
137
echo even more bob >file &&
138
git commit -a -m seventh &&
139
- git push ../bob-pub
139
+ git push ../bob-pub :
140
)
141
'
142