Subject: [PATCH v4 4/7] git-submodule.sh: get rid of unused variable

From: Roy Eldar <[email-masked]>
Date: Wed, 11 Dec 2024 08:32:31 +0200

Remove the variable "$diff_cmd" which is no longer used.

Signed-off-by: Roy Eldar <[email-masked]>
---
 git-submodule.sh | 1 -
 1 file changed, 1 deletion(-)

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