]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-submodule.sh: get rid of unused variable
authorRoy Eldar <royeldar0@gmail.com>
Wed, 11 Dec 2024 06:32:31 +0000 (08:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Dec 2024 11:46:48 +0000 (20:46 +0900)
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>
git-submodule.sh

index 3adaa8d9a3fe0929b947af29d70ab986f6deafdd..ba3bef882147973b510c15b516079c76aa8570fa 100755 (executable)
@@ -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