From: Simon Hausmann Date: Wed, 23 May 2007 14:41:46 +0000 (+0200) Subject: Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash) X-Git-Tag: v1.5.3-rc0~65^2^2~70 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=65d2ade95e6ef5a15a30d5115073477dfe03fb85;p=git-core%2Fgit.git Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash) Signed-off-by: Simon Hausmann --- diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 152c3c1ca..5cea6cf9a 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -1067,7 +1067,7 @@ class P4Sync(Command): self.gitError.close() if createP4HeadRef: - system("git symbolic-ref %s/HEAD %s" % (self.refPrefix, self.branch)) + system("git symbolic-ref %sHEAD %s" % (self.refPrefix, self.branch)) return True