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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 4, 2007, 16:59 UTC
Message-ID
<7vwsxggl54.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070704162214.GA28542@prefect.vdbonline.net>
CJ van den Berg <cj@vdbonline.com> writes:
Show 19 quoted lines
> 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.
Previous: CJ van den Berg
Message 2 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.