summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/fast-import/p4-fast-export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py
index 76c4b9d323..f37fdcf96e 100755
--- a/contrib/fast-import/p4-fast-export.py
+++ b/contrib/fast-import/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):