Skip to content

Commit a7152e9

Browse files
Ben Peartgitster
authored andcommitted
merge: update documentation for {merge,diff}.renameLimit
Update the documentation to better indicate that the renameLimit setting is ignored if rename detection is turned off via command line options or config settings. Signed-off-by: Ben Peart <[email protected]> Reviewed-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1de70db commit a7152e9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Documentation/diff-config.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ diff.orderFile::
112112

113113
diff.renameLimit::
114114
The number of files to consider when performing the copy/rename
115-
detection; equivalent to the 'git diff' option `-l`.
115+
detection; equivalent to the 'git diff' option `-l`. This setting
116+
has no effect if rename detection is turned off.
116117

117118
diff.renames::
118119
Whether and how Git detects renames. If set to "false",

Documentation/merge-config.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ include::fmt-merge-msg-config.txt[]
3535
merge.renameLimit::
3636
The number of files to consider when performing rename detection
3737
during a merge; if not specified, defaults to the value of
38-
diff.renameLimit.
38+
diff.renameLimit. This setting has no effect if rename detection
39+
is turned off.
3940

4041
merge.renormalize::
4142
Tell Git that canonical representation of files in the

0 commit comments

Comments
 (0)