From: Glen Choo via GitGitGadget Date: Fri, 10 Jun 2022 00:26:21 GMT Subject: [PATCH 8/8] submodule update: remove never-used expansion Message-ID: <242d3399dfb4fb533ca6cdca452af2717c316672.1654820781.git.gitgitgadget@gmail.com> In-Reply-To: From: Glen Choo The `prefix` variable is never set, so this conditional expansion is always '' (which does nothing). Signed-off-by: Glen Choo --- 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