зеркало из https://github.com/microsoft/git.git
Fix single-branch imports by skipping the branch/merge detection correctly.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
Родитель
f1e9b5345e
Коммит
90dc3dfdc8
|
@ -210,7 +210,7 @@ def commit(details, files, branch, branchPrefix):
|
|||
merges = Set()
|
||||
|
||||
for file in files:
|
||||
if lastChange == 0:
|
||||
if lastChange == 0 or not detectBranches:
|
||||
continue
|
||||
path = file["path"]
|
||||
if not path.startswith(branchPrefix):
|
||||
|
|
Загрузка…
Ссылка в новой задаче