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:
@ -962,7 +962,7 @@ class P4Sync(Command):
|
|||||||
|
|
||||||
for line in read_pipe_lines("git rev-parse --symbolic --remotes"):
|
for line in read_pipe_lines("git rev-parse --symbolic --remotes"):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if (not line.startswith("origin/")) or line.endswith("HEAD\n"):
|
if (not line.startswith("origin/")) or line.endswith("HEAD"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
headName = line[len("origin/"):]
|
headName = line[len("origin/"):]
|
||||||
|
Reference in New Issue
Block a user