Skip to content

Commit 2aac933

Browse files
hvoigtgitster
authored andcommitted
t5526: fix some broken && chains
Signed-off-by: Heiko Voigt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3d9c5b5 commit 2aac933

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t5526-fetch-submodules.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ test_expect_success "recurseSubmodules=true propagates into submodules" '
183183
add_upstream_commit &&
184184
(
185185
cd downstream &&
186-
git config fetch.recurseSubmodules true
186+
git config fetch.recurseSubmodules true &&
187187
git fetch >../actual.out 2>../actual.err
188188
) &&
189189
test_must_be_empty actual.out &&
@@ -208,7 +208,7 @@ test_expect_success "--no-recurse-submodules overrides config setting" '
208208
add_upstream_commit &&
209209
(
210210
cd downstream &&
211-
git config fetch.recurseSubmodules true
211+
git config fetch.recurseSubmodules true &&
212212
git fetch --no-recurse-submodules >../actual.out 2>../actual.err
213213
) &&
214214
! test -s actual.out &&
@@ -222,7 +222,7 @@ test_expect_success "Recursion doesn't happen when no new commits are fetched in
222222
cd submodule &&
223223
git config --unset fetch.recurseSubmodules
224224
) &&
225-
git config --unset fetch.recurseSubmodules
225+
git config --unset fetch.recurseSubmodules &&
226226
git fetch >../actual.out 2>../actual.err
227227
) &&
228228
! test -s actual.out &&
@@ -302,7 +302,7 @@ test_expect_success "Recursion picks up all submodules when necessary" '
302302
) &&
303303
head1=$(git rev-parse --short HEAD^) &&
304304
git add subdir/deepsubmodule &&
305-
git commit -m "new deepsubmodule"
305+
git commit -m "new deepsubmodule" &&
306306
head2=$(git rev-parse --short HEAD) &&
307307
echo "Fetching submodule submodule" > ../expect.err.sub &&
308308
echo "From $pwd/submodule" >> ../expect.err.sub &&

0 commit comments

Comments
 (0)