OSDN Git Service

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 152c3c1..5cea6cf 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