1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-21 12:46:09 +02:00

Exclude the HEAD symbolic ref from the list of known branches

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
This commit is contained in:
Marius Storm-Olsen 2007-06-07 15:28:04 +02:00
parent db775559c2
commit c4b33253c2

View File

@ -934,7 +934,7 @@ class P4Sync(Command):
line = line.strip()
## only import to p4/
if not line.startswith('p4/'):
if not line.startswith('p4/') or line == "p4/HEAD":
continue
branch = line
if self.importIntoRemotes: