Skip to content

Commit 68cbcf1

Browse files
vhdagitster
authored andcommitted
git-p4: Process detectCopiesHarder with --bool
Signed-off-by: Vitor Antunes <[email protected]> Acked-by: Pete Wyckoff <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c5cd4ef commit 68cbcf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/fast-import/git-p4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ class P4Submit(Command, P4UserMap):
789789
elif detectCopies != "" and detectCopies.lower() != "false":
790790
diffOpts += " -C%s" % detectCopies
791791

792-
if gitConfig("git-p4.detectCopiesHarder").lower() == "true":
792+
if gitConfig("git-p4.detectCopiesHarder", "--bool") == "true":
793793
diffOpts += " --find-copies-harder"
794794

795795
diff = read_pipe_lines("git diff-tree -r %s \"%s^\" \"%s\"" % (diffOpts, id, id))

0 commit comments

Comments
 (0)