git-p4: correct hasBranchPrefix verbose output

The logic here was inverted, you got a message saying the file is ignored for each file that is not ignored. Signed-off-by: Andrew Oakley <aoakley@roku.com> Acked-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Andrew Oakley committed Jun 22, 2016 at 10:26 UTC 09667d013c91124ac0ff870322e184f0de53744f
1 file changed +1 -1
git-p4.py
+1 -1
@@ -2315,7 +2315,7 @@ class P4Sync(Command, P4UserMap):
2315 return True
2316 hasPrefix = [p for p in self.branchPrefixes
2317 if p4PathStartsWith(path, p)]
2318 - if hasPrefix and self.verbose:
2318 + if not hasPrefix and self.verbose:
2319 print('Ignoring file outside of prefix: {0}'.format(path))
2320 return hasPrefix
2321