aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2011-10-21 21:49:35 +0800
committerJunio C Hamano <gitster@pobox.com>2011-10-21 10:01:50 -0700
commit1e42258acd3787f7a817f4265da03c709d2e2aa1 (patch)
tree8f120e03c943651f088863fb594ef946a7c2cb9b
parent501770e1bb5d132ae4f79aa96715f07f6b84e1f6 (diff)
downloadgit-1e42258acd3787f7a817f4265da03c709d2e2aa1.tar.gz
git-1e42258acd3787f7a817f4265da03c709d2e2aa1.tar.xz
submodule: whitespace fix
Replace SPs with TAB. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-submodule.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 7576d1476..8e9e5eaaf 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"
}
#