diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-04-03 10:29:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-03 10:29:22 -0700 |
commit | 5d2a30d7d8777319c745804f040fa405d02169ce (patch) | |
tree | 75a490997367dd1b4ea1f8e52db9260a6b6dda2b /builtin/diff.c | |
parent | Merge branch 'mm/readme-markdown' (diff) | |
parent | diff: activate diff.renames by default (diff) | |
download | tgif-5d2a30d7d8777319c745804f040fa405d02169ce.tar.xz |
Merge branch 'mm/diff-renames-default'
The end-user facing Porcelain level commands like "diff" and "log"
now enables the rename detection by default.
* mm/diff-renames-default:
diff: activate diff.renames by default
log: introduce init_log_defaults()
t: add tests for diff.renames (true/false/unset)
t4001-diff-rename: wrap file creations in a test
Documentation/diff-config: fix description of diff.renames
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index 52c98a9217..343c6b8f25 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -318,6 +318,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix) if (!no_index) gitmodules_config(); + init_diff_ui_defaults(); git_config(git_diff_ui_config, NULL); init_revisions(&rev, prefix); |