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:
parent
e2b1accc59
commit
41c7c1bd6f
@ -234,7 +234,7 @@ modules_list()
|
|||||||
continue;
|
continue;
|
||||||
fi
|
fi
|
||||||
revname=$(unset GIT_DIR && cd "$path" && git describe --tags $sha1)
|
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"
|
if git diff-files --quiet -- "$path"
|
||||||
then
|
then
|
||||||
say " $sha1 $path$revname"
|
say " $sha1 $path$revname"
|
||||||
@ -242,7 +242,7 @@ modules_list()
|
|||||||
if test -z "$cached"
|
if test -z "$cached"
|
||||||
then
|
then
|
||||||
sha1=$(unset GIT_DIR && cd "$path" && git rev-parse --verify HEAD)
|
sha1=$(unset GIT_DIR && cd "$path" && git rev-parse --verify HEAD)
|
||||||
set_name_rev "$path" $"sha1"
|
set_name_rev "$path" "$sha1"
|
||||||
fi
|
fi
|
||||||
say "+$sha1 $path$revname"
|
say "+$sha1 $path$revname"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user