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" > } > > #