git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/3] document deprecation of log.mailmap=false default

From
Ariadne Conill <ariadne@dereferenced.org>
Date
Jul 15, 2019, 12:41 UTC
Message-ID
<20190715124106.12642-1-ariadne@dereferenced.org>

Based on the discussion of the previous patches, we concluded that changing the default will require a transitional period.

As such, I have introduced a deprecation warning that is printed when the log builtin commands are used.

Thanks to Junio and everyone else for providing feedback on how to proceed.

New in version 3:
- Split interactive session detection in auto_decoration_style() into
  it's own function.
- Defang the tests in a more efficient way.
New in version 2:
- The warning is disabled when `--format` is used.
- The warning is disabled when not called from a controlling terminal.
- Tests which fake a controlling terminal have been defanged.
Ariadne Conill (3):
  log: add warning for unspecified log.mailmap setting
  documentation: mention --no-use-mailmap and log.mailmap false setting
  tests: defang pager tests by explicitly disabling the log.mailmap
    warning
 Documentation/config/log.txt |  3 ++-
 Documentation/git-log.txt    |  2 +-
 builtin/log.c                | 26 ++++++++++++++++++++++++--
 t/t7006-pager.sh             |  2 ++
 4 files changed, 29 insertions(+), 4 deletions(-)
-- 
2.17.1
Next: Ariadne Conill
Message 1 of 4 in “document deprecation of log.mailmap=false default”
  1. 0/3 document deprecation of log.mailmap=false defaultAriadne Conill, Jul 15, 2019
  2. 1/3 log: add warning for unspecified log.mailmap settingAriadne Conill, Jul 15, 2019
  3. 2/3 documentation: mention --no-use-mailmap and log.mailmap false settingAriadne Conill, Jul 15, 2019
  4. 3/3 tests: defang pager tests by explicitly disabling the log.mailmap warningAriadne Conill, Jul 15, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.