@matheusbsbs / matheus-bagliano / commits / c4b33253c2
Fork 0

Exclude the HEAD symbolic ref from the list of known branches

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>

Marius Storm-Olsen committed Jun 7, 2007 at 15:28 UTC c4b33253c221d928f3edde71123a44765495b31a
1 file changed +1 -1
contrib/fast-import/git-p4
+1 -1
@@ -934,7 +934,7 @@ class P4Sync(Command):
934 line = line.strip()
935
936 ## only import to p4/
937 - if not line.startswith('p4/'):
937 + if not line.startswith('p4/') or line == "p4/HEAD":
938 continue
939 branch = line
940 if self.importIntoRemotes: