diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-07 04:01:23 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-07 12:28:53 -0700 |
commit | b68ea12e305043a7feef085b6ba098f42357af9b (patch) | |
tree | 569d1cb41b151c46eaddbf74ea61638fa3a5fc79 /Documentation | |
parent | diff-options: Explain --text and -a (diff) | |
download | tgif-b68ea12e305043a7feef085b6ba098f42357af9b.tar.xz |
diff.c: respect diff.renames config option
diff.renames is mentioned several times in the documentation,
but to my surprise it didn't do anything before this patch.
Also add the --no-renames option to override this from the
command-line.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index f075f19815..5290a8fd1f 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -114,6 +114,11 @@ diff.renameLimit:: The number of files to consider when performing the copy/rename detection; equivalent to the git diff option '-l'. +diff.renames:: + Tells git to detect renames. If set to any boolean value, it + will enable basic rename detection. If set to "copies" or + "copy", it will detect copies, as well. + format.headers:: Additional email headers to include in a patch to be submitted by mail. See gitlink:git-format-patch[1]. |