author | Vitor Antunes <vitor.hda@gmail.com> | |
Mon, 22 Aug 2011 08:33:05 +0000 (09:33 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 22 Aug 2011 18:48:38 +0000 (11:48 -0700) | ||
commit | 0a9feffc47b19b81aba7ee5a93473b4c91f44ea9 | |
tree | 39c7c251b8ed11b575702bfc3627d39a63cab0be | tree | snapshot |
parent | 4e2e6ce45047fe2713546127f3d1ded576e1bf7e | commit | diff |
git-p4: Allow setting rename/copy detection threshold
Copy and rename detection arguments (-C and -M) allow setting a threshold value
for the similarity ratio. If the similarity is below this threshold the rename
or copy is ignored and the file is added as new.
This patch allows setting git-p4.detectRenames and git-p4.detectCopies options
to an integer value to set the respective threshold.
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>
Copy and rename detection arguments (-C and -M) allow setting a threshold value
for the similarity ratio. If the similarity is below this threshold the rename
or copy is ignored and the file is added as new.
This patch allows setting git-p4.detectRenames and git-p4.detectCopies options
to an integer value to set the respective threshold.
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>
contrib/fast-import/git-p4 | diff | blob | history |