summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2b1acc)
raw | patch | inline | side by side (parent: e2b1acc)
author | CJ van den Berg <cj@vdbonline.com> | |
Wed, 4 Jul 2007 16:22:14 +0000 (18:22 +0200) | ||
committer | Junio 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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | patch | blob | history |
diff --git a/git-submodule.sh b/git-submodule.sh
index 0ba016135f205513e81e62723fc71c97091b0b85..1f0cb99dcb09cd0db0f34ed9f70467cee0fe922b 100755 (executable)
--- a/git-submodule.sh
+++ b/git-submodule.sh
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"
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