aboutsummaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorPing Yin <pkufranky@gmail.com>2008-03-03 10:03:18 +0800
committerJunio C Hamano <gitster@pobox.com>2008-03-02 21:25:45 -0800
commitfcbcfe707ae23b37d72025a229f31c450fb4d3b3 (patch)
treebe4215aeacbca0c9d580a18788e28b626f618617 /git-submodule.sh
parent5c09f321729c2f1ce6718a0cfefa5e647fa808fc (diff)
downloadgit-fcbcfe707ae23b37d72025a229f31c450fb4d3b3.tar.gz
git-fcbcfe707ae23b37d72025a229f31c450fb4d3b3.tar.xz
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>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh2
1 files changed, 1 insertions, 1 deletions
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;