@matheusbsbs / matheus-bagliano / commits / 41c7c1bd6f
Fork 0

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>

CJ van den Berg committed Jul 4, 2007 at 18:22 UTC 41c7c1bd6f151f351365451acbf9fade6eb6044c
1 file changed +2 -2
git-submodule.sh
+2 -2
@@ -234,7 +234,7 @@ modules_list()
234 continue;
235 fi
236 revname=$(unset GIT_DIR && cd "$path" && git describe --tags $sha1)
237 - set_name_rev "$path" $"sha1"
237 + set_name_rev "$path" "$sha1"
238 if git diff-files --quiet -- "$path"
239 then
240 say " $sha1 $path$revname"
@@ -242,7 +242,7 @@ modules_list()
242 if test -z "$cached"
243 then
244 sha1=$(unset GIT_DIR && cd "$path" && git rev-parse --verify HEAD)
245 - set_name_rev "$path" $"sha1"
245 + set_name_rev "$path" "$sha1"
246 fi
247 say "+$sha1 $path$revname"
248 fi