mirror of
https://github.com/frej/fast-export.git
synced 2025-11-07 19:55:39 +01:00
hotfix for branchless imports
This commit is contained in:
@@ -210,7 +210,7 @@ def commit(details, files, branch, branchPrefix):
|
|||||||
merges = Set()
|
merges = Set()
|
||||||
|
|
||||||
for file in files:
|
for file in files:
|
||||||
if lastChange == 0:
|
if lastChange == 0 or not detectBranches:
|
||||||
continue
|
continue
|
||||||
path = file["path"]
|
path = file["path"]
|
||||||
if not path.startswith(branchPrefix):
|
if not path.startswith(branchPrefix):
|
||||||
|
|||||||
Reference in New Issue
Block a user