aboutsummaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorCJ van den Berg <cj@vdbonline.com>2007-07-04 18:22:14 +0200
committerJunio C Hamano <gitster@pobox.com>2007-07-04 10:00:38 -0700
commit41c7c1bd6f151f351365451acbf9fade6eb6044c (patch)
tree9524c4be0f49cf1f19db04b4b313237382984558 /git-submodule.sh
parente2b1accc59ab5d682d71fd801ebe959c3e871488 (diff)
downloadgit-41c7c1bd6f151f351365451acbf9fade6eb6044c.tar.gz
git-41c7c1bd6f151f351365451acbf9fade6eb6044c.tar.xz
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>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 0ba016135..1f0cb99dc 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -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