Fixed the check to make sure to exclude the HEAD symbolic refs when updating
the remotes/p4 branches from origin. Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
parent
5265bfcb06
commit
7aded26ce8
@ -962,7 +962,7 @@ class P4Sync(Command):
|
||||
|
||||
for line in read_pipe_lines("git rev-parse --symbolic --remotes"):
|
||||
line = line.strip()
|
||||
if (not line.startswith("origin/")) or line.endswith("HEAD\n"):
|
||||
if (not line.startswith("origin/")) or line.endswith("HEAD"):
|
||||
continue
|
||||
|
||||
headName = line[len("origin/"):]
|
||||
|
Loading…
Reference in New Issue
Block a user