git-p4: Process detectCopiesHarder with --bool
Signed-off-by: Vitor Antunes <vitor.hda@gmail.com> Acked-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vitor Antunes committed
Aug 22, 2011 at 09:33 UTC
68cbcf1b2575ca151ed3b11698916bcbbd1b890c
1 file changed
+1
-1
contrib/fast-import/git-p4
+1
-1
@@ -789,7 +789,7 @@ class P4Submit(Command, P4UserMap):
789
elif detectCopies != "" and detectCopies.lower() != "false":
790
diffOpts += " -C%s" % detectCopies
791
792
- if gitConfig("git-p4.detectCopiesHarder").lower() == "true":
792
+ if gitConfig("git-p4.detectCopiesHarder", "--bool") == "true":
793
diffOpts += " --find-copies-harder"
794
795
diff = read_pipe_lines("git diff-tree -r %s \"%s^\" \"%s\"" % (diffOpts, id, id))