diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2016-02-25 09:59:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-25 11:31:02 -0800 |
commit | 5404c116aa921d7e2f9408e103c80b7801735d08 (patch) | |
tree | 2a6e3a05b37e19e76242f0fdf54eba73879377f9 /Documentation/diff-config.txt | |
parent | 9501d191adca307d6fbe3f2ab111fa20414dd893 (diff) | |
download | git-5404c116aa921d7e2f9408e103c80b7801735d08.tar.gz |
diff: activate diff.renames by defaultmm/diff-renames-default
Rename detection is a very convenient feature, and new users shouldn't
have to dig in the documentation to benefit from it.
Potential objections to activating rename detection are that it
sometimes fail, and it is sometimes slow. But rename detection is
already activated by default in several cases like "git status" and "git
merge", so activating diff.renames does not fundamentally change the
situation. When the rename detection fails, it now fails consistently
between "git diff" and "git status".
This setting does not affect plumbing commands, hence well-written
scripts will not be affected.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-config.txt')
-rw-r--r-- | Documentation/diff-config.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt index cf4a9159bf..edba56522b 100644 --- a/Documentation/diff-config.txt +++ b/Documentation/diff-config.txt @@ -111,7 +111,7 @@ diff.renames:: Whether and how Git detects renames. If set to "false", rename detection is disabled. If set to "true", basic rename detection is enabled. If set to "copies" or "copy", Git will - detect copies, as well. Defaults to false. Note that this + detect copies, as well. Defaults to true. Note that this affects only 'git diff' Porcelain like linkgit:git-diff[1] and linkgit:git-log[1], and not lower level commands such as linkgit:git-diff-files[1]. |