git-p4: Fix checkout bug when using --import-local.
commite990501312e22cfa910d88dc7143bc4eb3632ae1
authorTor Arvid Lund <torarvid@gmail.com>
Wed, 27 Aug 2008 22:36:12 +0000 (28 00:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2008 07:15:47 +0000 (29 00:15 -0700)
tree8dd43384fe2c55ed5bde3117c261c3b575f11185
parent61c5d431deb0437b35c18d268c1957eefd1f4b91
git-p4: Fix checkout bug when using --import-local.

When this option is passed to git p4 clone, the checkout at the end would
previously fail. This patch fixes it by optionally creating the master branch
from refs/heads/p4/master, which is the correct one for this option.

Signed-off-by: Tor Arvid Lund <torarvid@gmail.com>
Acked-By: Simon Hausmann <simon@lst.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4