diff options
author | Vitor Antunes <vitor.hda@gmail.com> | 2011-08-22 09:33:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-22 11:49:04 -0700 |
commit | 807371a92654634d482b31b1d5dd3dff86193990 (patch) | |
tree | e23c1ba3a444dfa754a4f8a09dbc871bb0809afc /contrib/fast-import | |
parent | 0a9feffc47b19b81aba7ee5a93473b4c91f44ea9 (diff) | |
download | git-807371a92654634d482b31b1d5dd3dff86193990.tar.gz |
git-p4: Add description of rename/copy detection options
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>
Diffstat (limited to 'contrib/fast-import')
-rw-r--r-- | contrib/fast-import/git-p4.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/fast-import/git-p4.txt b/contrib/fast-import/git-p4.txt index caa4bb3e30..2ffbccc9bd 100644 --- a/contrib/fast-import/git-p4.txt +++ b/contrib/fast-import/git-p4.txt @@ -232,6 +232,31 @@ git-p4.skipUserNameCheck When submitting, git-p4 checks that the git commits are authored by the current p4 user, and warns if they are not. This disables the check. +git-p4.detectRenames + +Detect renames when submitting changes to Perforce server. Will enable -M git +argument. Can be optionally set to a number representing the threshold +percentage value of the rename detection. + + git config [--global] git-p4.detectRenames true + git config [--global] git-p4.detectRenames 50 + +git-p4.detectCopies + +Detect copies when submitting changes to Perforce server. Will enable -C git +argument. Can be optionally set to a number representing the threshold +percentage value of the copy detection. + + git config [--global] git-p4.detectCopies true + git config [--global] git-p4.detectCopies 80 + +git-p4.detectCopiesHarder + +Detect copies even between files that did not change when submitting changes to +Perforce server. Will enable --find-copies-harder git argument. + + git config [--global] git-p4.detectCopies true + Implementation Details... ========================= |