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>
maint
Roy Eldar 2024-12-11 08:32:31 +02:00 committed by Junio C Hamano
parent 006f546bc3
commit 402e46daf5
1 changed files with 0 additions and 1 deletions

View File

@ -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