mirror of
https://github.com/frej/fast-export.git
synced 2026-07-04 14:19:42 +02:00
Fix support for explicit disabling of syncing with the origin
This commit is contained in:
2
git-p4
2
git-p4
@@ -1028,6 +1028,8 @@ class P4Sync(Command):
|
||||
self.knownBranches = {}
|
||||
self.initialParents = {}
|
||||
self.hasOrigin = gitBranchExists("origin") or gitBranchExists("origin/p4") or gitBranchExists("origin/p4/master")
|
||||
if not self.syncWithOrigin:
|
||||
self.hasOrigin = False
|
||||
|
||||
if self.importIntoRemotes:
|
||||
self.refPrefix = "refs/remotes/p4/"
|
||||
|
||||
Reference in New Issue
Block a user