git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-submodule: Fix a typo

From
CJ van den Berg <cj@vdbonline.com>
Date
Jul 4, 2007, 16:22 UTC
Message-ID
<20070704162214.GA28542@prefect.vdbonline.net>
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"
-- 
1.5.2.GIT
Next: Junio C Hamano
Message 1 of 2 in “git-submodule: Fix a typo”
  1. git-submodule: Fix a typoCJ van den Berg, Jul 4, 2007
  2. Junio C HamanoJul 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.