--- contrib/fast-import/git-p4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 0ea3a44..a466847 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -618,7 +618,7 @@ class P4Submit(Command): if len(detectRenames) > 0: diffOpts = "-M%s" % detectRenames else: - diffOpts = ("", "-M")[self.detectRenames] + diffOpts = ("", "-M")[self.detectRename] detectCopies = gitConfig("git-p4.detectCopies") if len(detectCopies) > 0: -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html