diff --git a/p4-fast-export.py b/p4-fast-export.py index 76c4b9d..f37fdcf 100755 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -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):