Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
submodule: whitespace fix
author
Tay Ray Chuan
<rctay89@gmail.com>
Fri, 21 Oct 2011 13:49:35 +0000
(21:49 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 21 Oct 2011 17:01:50 +0000
(10:01 -0700)
Replace SPs with TAB.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
501770e
)
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 7576d147695955f3a2b8a92944b5315a2b0f5395..8e9e5eaaf8730cb15ba69e7606976ba2eb4e9cf6 100755
(executable)
--- 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"
}
#