pack-objects: use reachability bitmap index when generating non-stdout pack
[gitweb.git] / git-p4.py
index 6b252df816752be640021fad95e1ed720987bf03..ac6f4c14fba8e459318d9e038327fbb34bea2361 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -2674,7 +2674,7 @@ def hasBranchPrefix(self, path):
             return True
         hasPrefix = [p for p in self.branchPrefixes
                         if p4PathStartsWith(path, p)]
-        if hasPrefix and self.verbose:
+        if not hasPrefix and self.verbose:
             print('Ignoring file outside of prefix: {0}'.format(path))
         return hasPrefix