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>
Vitor Antunes committed
Aug 22, 2011 at 09:33 UTC
807371a92654634d482b31b1d5dd3dff86193990
1 file changed
+25
contrib/fast-import/git-p4.txt
+25
@@ -232,6 +232,31 @@ git-p4.skipUserNameCheck
232
When submitting, git-p4 checks that the git commits are authored by the current
233
p4 user, and warns if they are not. This disables the check.
234
235
+git-p4.detectRenames
236
+
237
+Detect renames when submitting changes to Perforce server. Will enable -M git
238
+argument. Can be optionally set to a number representing the threshold
239
+percentage value of the rename detection.
240
+
241
+ git config [--global] git-p4.detectRenames true
242
+ git config [--global] git-p4.detectRenames 50
243
+
244
+git-p4.detectCopies
245
+
246
+Detect copies when submitting changes to Perforce server. Will enable -C git
247
+argument. Can be optionally set to a number representing the threshold
248
+percentage value of the copy detection.
249
+
250
+ git config [--global] git-p4.detectCopies true
251
+ git config [--global] git-p4.detectCopies 80
252
+
253
+git-p4.detectCopiesHarder
254
+
255
+Detect copies even between files that did not change when submitting changes to
256
+Perforce server. Will enable --find-copies-harder git argument.
257
+
258
+ git config [--global] git-p4.detectCopies true
259
+
260
Implementation Details...
261
=========================
262