Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash)
authorSimon Hausmann <shausman@trolltech.com>
Wed, 23 May 2007 14:41:46 +0000 (16:41 +0200)
committerSimon Hausmann <shausman@trolltech.com>
Wed, 23 May 2007 14:41:46 +0000 (16:41 +0200)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4

index 152c3c1ca56a0376a765312c87f6f9cfd1259c3f..5cea6cf9ac491695a83b631857d1ec756b14d668 100755 (executable)
@@ -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