From: Heiko Voigt Date: Sat, 28 Jul 2012 12:19:56 GMT Subject: [PATCH] cleanup argument passing in submodule status command Message-ID: <20120728121956.GA36429@book.hvoigt.net> In-Reply-To: <20120728102209.GA13370@book.hvoigt.net> In commit 98dbe63 the variable $orig_args was renamed to $orig_flags. One location in cmd_status() was missed. Note: This is a code cleanup and does not fix any bugs. As a side effect the variables containing the parsed flags to "git submodule status" are passed down recursively. So everything was already behaving as expected. Signed-off-by: Heiko Voigt --- git-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-submodule.sh b/git-submodule.sh index dba4d39..3a3f0a4 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -961,7 +961,7 @@ cmd_status() prefix="$displaypath/" clear_local_git_env cd "$sm_path" && - eval cmd_status "$orig_args" + eval cmd_status "$orig_flags" ) || die "$(eval_gettext "Failed to recurse into submodule path '\$sm_path'")" fi -- 1.7.12.rc0.23.g3c7cae0