git-clone: Allow cloning into directories other than child of current dir.
commit7f10f7c4e4943fefbc8b8310d1d1d7753f5e3aff
authorAndreas Ericsson <exon@op5.se>
Thu, 10 Nov 2005 11:58:08 +0000 (10 12:58 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 11 Nov 2005 09:34:27 +0000 (11 01:34 -0800)
tree76d3d1c302c20b82fd976e958aabd19f7f01e7b5
parent0879aa28708dcdfa255fff631781e5178755498e
git-clone: Allow cloning into directories other than child of current dir.

This patch adds -p to mkdir and an explicit check to see if the target
directory exists (since mkdir -p doesn't throw an error if it does).

Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh