From: Glen Choo <chooglen@xxxxxxxxxx> The `prefix` variable is never set, so this conditional expansion is always '' (which does nothing). Signed-off-by: Glen Choo <chooglen@xxxxxxxxxx> --- git-submodule.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/git-submodule.sh b/git-submodule.sh index e9d93e91d21..2a6ffa8ac34 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -238,7 +238,6 @@ cmd_update() { git ${wt_prefix:+-C "$wt_prefix"} submodule--helper update \ ${wt_prefix:+--prefix "$wt_prefix"} \ - ${prefix:+--recursive-prefix "$prefix"} \ "$@" } -- gitgitgadget