summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a9feff)
raw | patch | inline | side by side (parent: 0a9feff)
author | Vitor Antunes <vitor.hda@gmail.com> | |
Mon, 22 Aug 2011 08:33:06 +0000 (09:33 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 22 Aug 2011 18:49:04 +0000 (11:49 -0700) |
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>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4.txt | patch | blob | history |
index caa4bb3e30c081394b464de6e92ca3298a87fdd1..2ffbccc9bd0f10b81f7cf37561023c551ccbd9af 100644 (file)
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...
=========================