From: Stefan Beller Date: Mon, 28 Mar 2016 23:28:23 GMT Subject: [PATCH 7/7] submodule status: fix path handling in recursive submodules Message-ID: <1459207703-1635-8-git-send-email-sbeller@google.com> In-Reply-To: <1459207703-1635-1-git-send-email-sbeller@google.com> This fixes the test which was introduced in the parent commit. Signed-off-by: Stefan Beller --- git-submodule.sh | 1 + t/t7407-submodule-foreach.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/git-submodule.sh b/git-submodule.sh index a7c8599..7503b27 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -1161,6 +1161,7 @@ cmd_status() ( prefix="$displaypath/" clear_local_git_env + wt_prefix= cd "$sm_path" && eval cmd_status ) || diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh index 5c57151..91f9ca9 100755 --- a/t/t7407-submodule-foreach.sh +++ b/t/t7407-submodule-foreach.sh @@ -272,7 +272,7 @@ cat > expect <