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

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

From
Ariadne Conill <ariadne@dereferenced.org>
Date
Jul 12, 2019, 23:02 UTC
Message-ID
<20190712230204.16749-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 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                | 25 ++++++++++++++++++++++++-
 t/t7006-pager.sh             | 10 ++++++++++
 4 files changed, 37 insertions(+), 3 deletions(-)
-- 
2.17.1
Next: Ariadne Conill
Message 1 of 6 in “document deprecation of log.mailmap=false default”
  1. 0/3 document deprecation of log.mailmap=false defaultAriadne Conill, Jul 12, 2019
  2. 1/3 log: add warning for unspecified log.mailmap settingAriadne Conill, Jul 12, 2019
  3. Junio C HamanoJul 14, 2019
  4. 2/3 documentation: mention --no-use-mailmap and log.mailmap false settingAriadne Conill, Jul 12, 2019
  5. 3/3 tests: defang pager tests by explicitly disabling the log.mailmap warningAriadne Conill, Jul 12, 2019
  6. Junio C HamanoJul 14, 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.