git-submodule: Fix two instances of the same typo
authorCJ van den Berg <cj@vdbonline.com>
Wed, 4 Jul 2007 16:22:14 +0000 (18:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jul 2007 17:00:38 +0000 (10:00 -0700)
They break the output of git submodule status.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh

index 0ba016135f205513e81e62723fc71c97091b0b85..1f0cb99dcb09cd0db0f34ed9f70467cee0fe922b 100755 (executable)
@@ -234,7 +234,7 @@ modules_list()
                        continue;
                fi
                revname=$(unset GIT_DIR && cd "$path" && git describe --tags $sha1)
-               set_name_rev "$path" $"sha1"
+               set_name_rev "$path" "$sha1"
                if git diff-files --quiet -- "$path"
                then
                        say " $sha1 $path$revname"
@@ -242,7 +242,7 @@ modules_list()
                        if test -z "$cached"
                        then
                                sha1=$(unset GIT_DIR && cd "$path" && git rev-parse --verify HEAD)
-                               set_name_rev "$path" $"sha1"
+                               set_name_rev "$path" "$sha1"
                        fi
                        say "+$sha1 $path$revname"
                fi