git-p4: Fix warnings about non-existant refs/remotes/p4/HEAD ref when running git...
authorSimon Hausmann <simon@lst.de>
Fri, 24 Aug 2007 15:46:16 +0000 (17:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Aug 2007 01:54:37 +0000 (18:54 -0700)
commit0058a33a8eb5a8bfcfc5f5e769a2517cff4b73f1
tree1f96ade3c238a797b7f681ec64c5d59d98cbaa5d
parent5ca4461728adadf22b5b8833693702ab09e556db
git-p4: Fix warnings about non-existant refs/remotes/p4/HEAD ref when running git-p4 sync the first time after a git clone.

Don't create the p4/HEAD symbolic ref if p4/master doesn't exist yet.

Signed-off-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4