summaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorCJ van den Berg <cj@vdbonline.com>2007-07-04 16:22:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-07-04 17:00:38 (GMT)
commit41c7c1bd6f151f351365451acbf9fade6eb6044c (patch)
tree9524c4be0f49cf1f19db04b4b313237382984558 /git-submodule.sh
parente2b1accc59ab5d682d71fd801ebe959c3e871488 (diff)
downloadgit-41c7c1bd6f151f351365451acbf9fade6eb6044c.zip
git-41c7c1bd6f151f351365451acbf9fade6eb6044c.tar.gz
git-41c7c1bd6f151f351365451acbf9fade6eb6044c.tar.bz2
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 0ba0161..1f0cb99 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