From: Ping Yin Date: Mon, 3 Mar 2008 02:03:18 +0000 (+0800) Subject: git-submodule: Fix typo 'url' which should be '$url' X-Git-Tag: v1.5.4.4~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fcbcfe707ae23b37d72025a229f31c450fb4d3b3;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-submodule.sh b/git-submodule.sh index a6aaf40b0..67d3224c8 100755 --- 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;