git-p4: check for existence of repo dir before trying to create
authorKevin Green <redacted>
Mon, 11 Jun 2007 20:48:07 +0000 (16:48 -0400)
committerSimon Hausmann <redacted>
Mon, 11 Jun 2007 21:15:38 +0000 (23:15 +0200)
commitc3bf3f1301319faab7344e2d8b5ab10a3d648856
tree552dbeb5aa2c4df608a94f61c7aec2a8c002549c
parent6581de096e8323385b8ec7d467e91927a80ce3b9
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 <redacted>
contrib/fast-import/git-p4
git clone https://git.99rst.org/PROJECT