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

Re: [PATCH 1/2] submodule: whitespace fix

From
Jens Lehmann <jens.lehmann@web.de>
Date
Oct 10, 2011, 18:52 UTC
Message-ID
<4E933EDF.6020909@web.de>
In-Reply-To
<1317978295-4796-1-git-send-email-rctay89@gmail.com>
Am 07.10.2011 11:04, schrieb Tay Ray Chuan:
> Replace SPs with TAB.

As these are the only lines where spaces are used for indentation in this file this might be a worthwhile cleanup, but I really don't care that much. Junio, what do you think?

Show 22 quoted lines
> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
> ---
>  git-submodule.sh |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/git-submodule.sh b/git-submodule.sh
> index 928a62f..ebea35b 100755
> --- a/git-submodule.sh
> +++ b/git-submodule.sh
> @@ -104,9 +104,9 @@ module_name()
>  	re=$(printf '%s\n' "$1" | sed -e 's/[].[^$\\*]/\\&/g')
>  	name=$( git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |
>  		sed -n -e 's|^submodule\.\(.*\)\.path '"$re"'$|\1|p' )
> -       test -z "$name" &&
> -       die "$(eval_gettext "No submodule mapping found in .gitmodules for path '\$path'")"
> -       echo "$name"
> +	test -z "$name" &&
> +	die "$(eval_gettext "No submodule mapping found in .gitmodules for path '\$path'")"
> +	echo "$name"
>  }
>  
>  #
Previous: Tay Ray Chuan
Message 9 of 9 in “submodule: whitespace fix”
  1. 1/2 submodule: whitespace fixTay Ray Chuan, Oct 7, 2011
  2. 2/2 submodule::module_clone(): silence die() message from module_name()Tay Ray Chuan, Oct 7, 2011
  3. Jens LehmannOct 10, 2011
  4. Tay Ray ChuanOct 11, 2011
  5. Jens LehmannOct 11, 2011
  6. 0/2 submodule patchesTay Ray Chuan, Oct 21, 2011
  7. 1/2 submodule: whitespace fixTay Ray Chuan, Oct 21, 2011
  8. 2/2 submodule::module_clone(): silence die() message from module_name()Tay Ray Chuan, Oct 21, 2011
  9. Jens LehmannOct 10, 2011

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.