Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash)

This commit is contained in:
Simon Hausmann
2007-05-23 16:41:46 +02:00
parent 5a403c2cce
commit bcdf34c777

2
git-p4
View File

@@ -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