summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPing Yin <pkufranky@gmail.com>2008-03-03 02:03:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-03-03 05:25:45 (GMT)
commitfcbcfe707ae23b37d72025a229f31c450fb4d3b3 (patch)
treebe4215aeacbca0c9d580a18788e28b626f618617
parent5c09f321729c2f1ce6718a0cfefa5e647fa808fc (diff)
downloadgit-fcbcfe707ae23b37d72025a229f31c450fb4d3b3.zip
git-fcbcfe707ae23b37d72025a229f31c450fb4d3b3.tar.gz
git-fcbcfe707ae23b37d72025a229f31c450fb4d3b3.tar.bz2
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>
-rwxr-xr-xgit-submodule.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index a6aaf40..67d3224 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;