mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
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>
This commit is contained in:
parent
c5cd4ef0fd
commit
68cbcf1b25
@ -789,7 +789,7 @@ class P4Submit(Command, P4UserMap):
|
||||
elif detectCopies != "" and detectCopies.lower() != "false":
|
||||
diffOpts += " -C%s" % detectCopies
|
||||
|
||||
if gitConfig("git-p4.detectCopiesHarder").lower() == "true":
|
||||
if gitConfig("git-p4.detectCopiesHarder", "--bool") == "true":
|
||||
diffOpts += " --find-copies-harder"
|
||||
|
||||
diff = read_pipe_lines("git diff-tree -r %s \"%s^\" \"%s\"" % (diffOpts, id, id))
|
||||
|
Loading…
Reference in New Issue
Block a user