summaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-11-09 12:51:15 -0500
committerJeff King <peff@peff.net>2012-11-09 12:51:15 -0500
commitb0b00a3ee43b4813eb85728a482500f6422499fd (patch)
tree7afa582b33da2c45d046f3dd8ff7df30b336cf37 /git-submodule.sh
parent19fb61369583410a4f79dbc065b4dc8125236c0b (diff)
parente15bec0ec3b763449e418c12a5f2e128560c556d (diff)
downloadgit-b0b00a3ee43b4813eb85728a482500f6422499fd.tar.gz
Merge branch 'ph/maint-submodule-status-fix'
Cleans up some leftover bits from an earlier submodule change. * ph/maint-submodule-status-fix: submodule status: remove unused orig_* variables t7407: Fix recursive submodule test
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 3d1617fa9e..819eb5674a 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -950,7 +950,6 @@ cmd_summary() {
cmd_status()
{
# parse $args after "submodule ... status".
- orig_flags=
while test $# -ne 0
do
case "$1" in
@@ -974,7 +973,6 @@ cmd_status()
break
;;
esac
- orig_flags="$orig_flags $(git rev-parse --sq-quote "$1")"
shift
done
@@ -1014,7 +1012,7 @@ cmd_status()
prefix="$displaypath/"
clear_local_git_env
cd "$sm_path" &&
- eval cmd_status "$orig_args"
+ eval cmd_status
) ||
die "$(eval_gettext "Failed to recurse into submodule path '\$sm_path'")"
fi