Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash)
authorSimon Hausmann <shausman@rhea.troll.no>
Wed, 23 May 2007 14:41:46 +0000 (16:41 +0200)
committerSimon Hausmann <shausman@rhea.troll.no>
Wed, 23 May 2007 14:41:46 +0000 (16:41 +0200)
git-p4

diff --git a/git-p4 b/git-p4
index 152c3c1..5cea6cf 100755 (executable)
--- a/git-p4
+++ b/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