summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Eldar <royeldar0@gmail.com>2024-12-11 07:32:31 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-11 12:46:48 +0100
commit402e46daf5ebf96f2cb31bf37e3d1637247688e5 (patch)
treee26a835988fe4dff289b805ff741e4548a5f816a
parentgit-submodule.sh: get rid of isnumber (diff)
downloadgit-402e46daf5ebf96f2cb31bf37e3d1637247688e5.tar.xz
git-402e46daf5ebf96f2cb31bf37e3d1637247688e5.zip
git-submodule.sh: get rid of unused variable
Remove the variable "$diff_cmd" which is no longer used. Signed-off-by: Roy Eldar <royeldar0@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-submodule.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 3adaa8d9a3..ba3bef8821 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -503,7 +503,6 @@ cmd_set_url() {
cmd_summary() {
summary_limit=-1
for_status=
- diff_cmd=diff-index
# parse $args after "submodule ... summary".
while test $# -ne 0