Print an error if cloning a http repo and NO_CURL is set
commit6c5c62f3401dc8f4b567af46582c112f6a859b5e
authorFernando J. Pereda <ferdy@gentoo.org>
Wed, 15 Feb 2006 11:37:30 +0000 (15 12:37 +0100)
committerJunio C Hamano <junkio@cox.net>
Thu, 16 Feb 2006 03:14:01 +0000 (15 19:14 -0800)
tree98e407bebd7846c21f53e2688d44220b4e708d11
parent504fe714fe642b375992bb913075bee0d0bc1bbd
Print an error if cloning a http repo and NO_CURL is set

If Git is compiled with NO_CURL=YesPlease and one tries to
clone a http repository, git-clone tries to call the curl
binary. This trivial patch prints an error instead in such
situation.

Signed-off-by: Fernando J. Pereda <ferdy@gentoo.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
git-clone.sh