Browse Source

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>
maint
CJ van den Berg 18 years ago committed by Junio C Hamano
parent
commit
41c7c1bd6f
  1. 4
      git-submodule.sh

4
git-submodule.sh

@ -234,7 +234,7 @@ modules_list() @@ -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() @@ -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

Loading…
Cancel
Save