mirror of
https://github.com/frej/fast-export.git
synced 2026-05-06 15:15:46 +02:00
Fixed the check to make sure to exclude the HEAD symbolic refs when updating
the remotes/p4 branches from origin.
This commit is contained in:
2
git-p4
2
git-p4
@@ -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/"):]
|
||||
|
||||
Reference in New Issue
Block a user