git-submodule: Fix two instances of the same typo

They break the output of git submodule status.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
CJ van den Berg 2007-07-04 18:22:14 +02:00 committed by Junio C Hamano
parent e2b1accc59
commit 41c7c1bd6f

View file

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