Skip to content

Commit 349a360

Browse files
chooglengitster
authored andcommitted
submodule update: remove never-used expansion
The `prefix` variable is never set, so this conditional expansion is always '' (which does nothing). Signed-off-by: Glen Choo <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0ca613d commit 349a360

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

git-submodule.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ cmd_update()
238238
{
239239
git ${wt_prefix:+-C "$wt_prefix"} submodule--helper update \
240240
${wt_prefix:+--prefix "$wt_prefix"} \
241-
${prefix:+--recursive-prefix "$prefix"} \
242241
"$@"
243242
}
244243

0 commit comments

Comments
 (0)