git-submodule: Fix typo 'url' which should be '$url'
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>
Ping Yin committed
Mar 3, 2008 at 10:03 UTC
fcbcfe707ae23b37d72025a229f31c450fb4d3b3
1 file changed
+1
-1
git-submodule.sh
+1
-1
@@ -362,7 +362,7 @@ cmd_status()
362
do
363
name=$(module_name "$path") || exit
364
url=$(git config submodule."$name".url)
365
- if test -z "url" || ! test -d "$path"/.git
365
+ if test -z "$url" || ! test -d "$path"/.git
366
then
367
say "-$sha1 $path"
368
continue;