git-p4: check for existence of repo dir before trying to create
commit58739b416678f72c73951dd31cc57104dfd273b5
authorKevin Green <Kevin.Green@morganstanley.com>
Mon, 11 Jun 2007 20:48:07 +0000 (11 16:48 -0400)
committerSimon Hausmann <simon@lst.de>
Mon, 11 Jun 2007 21:15:38 +0000 (11 23:15 +0200)
treec249c325886cc0cda290455467c9aff203261251
parent62d7323e48746850e139b7853a7d9c83656b9591
git-p4: check for existence of repo dir before trying to create

When using git-p4 in this manner:

git-p4 clone //depot/path/project myproject

If "myproject" already exists as a dir, but not a valid git repo, it fails
to create the directory.

Signed-off-by: Kevin Green <Kevin.Green@morganstanley.com>
git-p4