Skip to content

Commit

Permalink
Avoid calling git symbolic-ref refs/heads/p4//HEAD (double slash)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
  • Loading branch information
Simon Hausmann committed May 23, 2007
1 parent a396b29 commit 65d2ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 65d2ade

Please sign in to comment.