Skip to content

Commit

Permalink
git-submodule: Fix typo 'url' which should be '$url'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ping Yin authored and Junio C Hamano committed Mar 3, 2008
1 parent 5c09f32 commit fcbcfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fcbcfe7

Please sign in to comment.