projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c09f32
)
git-submodule: Fix typo 'url' which should be '$url'
author
Ping Yin
<pkufranky@gmail.com>
Mon, 3 Mar 2008 02:03:18 +0000
(10:03 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 3 Mar 2008 05:25:45 +0000
(21:25 -0800)
Fix typo in 'test -z "url"' when checking whether a submodule url is
empty. "url" should be "$url".
Signed-off-by: Ping Yin <pkufranky@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
patch
|
blob
|
history
diff --git
a/git-submodule.sh
b/git-submodule.sh
index a6aaf40b0ac5b477b73684b5a2b8b7417adaad81..67d3224c8c4c7106287aeb095ea545fe7a26b726 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-362,7
+362,7
@@
cmd_status()
do
name=$(module_name "$path") || exit
url=$(git config submodule."$name".url)
- if test -z "url" || ! test -d "$path"/.git
+ if test -z "
$
url" || ! test -d "$path"/.git
then
say "-$sha1 $path"
continue;