Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] git-submodule: Fix a typo

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:19

CJ van den Berg [off-list ref] writes:
quoted hunk
This typo breaks the output of git submodule status.

---
 git-submodule.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-submodule.sh b/git-submodule.sh
index 0ba0161..277fadc 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"
Thanks.  There is another, probably from a cut-n-paste.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help