diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-09-29 09:04:14 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-09-29 09:04:15 -0700 |
| commit | 0b493d2986ab2664a35a87db04154c795f74d3fd (patch) | |
| tree | 6cedffded7f4367108e37bdc2c78c57f2668e66a /builtin/log.c | |
| parent | Merge branch 'jk/fsmonitor-unused-parameter' (diff) | |
| parent | diff --stat: add config option to limit filename width (diff) | |
| download | git-0b493d2986ab2664a35a87db04154c795f74d3fd.tar.gz git-0b493d2986ab2664a35a87db04154c795f74d3fd.zip | |
Merge branch 'ds/stat-name-width-configuration'
"git diff" learned diff.statNameWidth configuration variable, to
give the default width for the name part in the "--stat" output.
* ds/stat-name-width-configuration:
diff --stat: add config option to limit filename width
Diffstat (limited to 'builtin/log.c')
| -rw-r--r-- | builtin/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/log.c b/builtin/log.c index b085417942..80e1be1645 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -178,6 +178,7 @@ static void cmd_log_init_defaults(struct rev_info *rev) rev->verbose_header = 1; rev->diffopt.flags.recursive = 1; rev->diffopt.stat_width = -1; /* use full terminal width */ + rev->diffopt.stat_name_width = -1; /* respect statNameWidth config */ rev->diffopt.stat_graph_width = -1; /* respect statGraphWidth config */ rev->abbrev_commit = default_abbrev_commit; rev->show_root_diff = default_show_root; |
