Code

git-clone: exit early if repo isn't specified
authorYasushi SHOJI <yashi@atmark-techno.com>
Thu, 30 Mar 2006 17:01:23 +0000 (17:01 +0000)
committerJunio C Hamano <junkio@cox.net>
Thu, 30 Mar 2006 23:31:21 +0000 (15:31 -0800)
commitef5b4eabb6da7cead197e387589896345d3dfbc6
tree62fa458510c139b972fe5bb100698aeddf195f65
parent98a4fef3f28e48d12a4fecd5cf97daa774c1e5bc
git-clone: exit early if repo isn't specified

git-clone without a repo isn't useful at all.  print message and get
out asap.

This patch also move the variable 'local' to where other variables are
initialized.

Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh