diff options
author | Jens Lehmann <Jens.Lehmann@web.de> | 2012-10-28 22:37:16 +0100 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-29 03:25:50 -0400 |
commit | e15bec0ec3b763449e418c12a5f2e128560c556d (patch) | |
tree | efa7d2fea6e2c229dc11b676fcfcb309c1efba0d /t/t7008-grep-binary.sh | |
parent | t7407: Fix recursive submodule test (diff) | |
download | tgif-e15bec0ec3b763449e418c12a5f2e128560c556d.tar.xz |
submodule status: remove unused orig_* variables
When renaming orig_args to orig_flags in 98dbe63d (submodule: only
preserve flags across recursive status/update invocations) the call site
of the recursive cmd_status was forgotten. At that place orig_args is
still passed into the recursion, which is always empty since then. This
did not break anything because the orig_flags logic is not needed at all
when a function from the submodule script is called with eval, as that
inherits all the variables set by the option parsing done in the first
level of the recursion.
Now that we know that orig_flags and orig_args aren't needed at all,
let's just remove them from cmd_status().
Thanks-to: Phil Hord <hordp@cisco.com>
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t7008-grep-binary.sh')
0 files changed, 0 insertions, 0 deletions