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

Re: [PATCH v3] builtin/log: honor log.decorate

From
Alex Henrie <alexhenrie24@gmail.com>
Date
May 15, 2017, 03:48 UTC
Message-ID
<CAMMLpeSpgfOFLV_WE6yQzp2aKta9DEt+Z5gDGDhwrEDzfqtwBg@mail.gmail.com>
In-Reply-To
<xmqqy3tyx2x5.fsf@gitster.mtv.corp.google.com>
2017-05-14 20:35 GMT-06:00 Junio C Hamano <gitster@pobox.com>:
Show 22 quoted lines
> "brian m. carlson" <sandals@crustytoothpaste.net> writes:
>
>> The recent change that introduced autodecorating of refs accidentally
>> broke the ability of users to set log.decorate = false to override it.
>> When the git_log_config was traversed a second time with an option other
>> than log.decorate, the decoration style would be set to the automatic
>> style, even if the user had already overridden it.  Instead of setting
>> the option in config parsing, set it in init_log_defaults instead.
>>
>> Add a test for this case.  The actual additional config option doesn't
>> matter, but it needs to be something not already set in the
>> configuration file.
>>
>> Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
>> ---
>> Changes from v2:
>> * Add a test.  I tested that the config parsing both works with
>>   additional options and also can be overridden from the command line.
>
> Thanks, all.
>
> Will queue with Acked-by by Alex and Reviewed-by by Jonathan.
That sounds great, thank you.
-Alex
Previous: Junio C HamanoNext: Jonathan Nieder
Message 14 of 15 in “builtin/log: honor log.decorate”
  1. builtin/log: honor log.decoratebrian m. carlson, May 12, 2017
  2. Alex HenrieMay 12, 2017
  3. brian m. carlsonMay 12, 2017
  4. builtin/log: honor log.decoratebrian m. carlson, May 12, 2017
  5. Alex HenrieMay 12, 2017
  6. Jonathan NiederMay 12, 2017
  7. brian m. carlsonMay 12, 2017
  8. Jonathan NiederMay 12, 2017
  9. Alex HenrieMay 13, 2017
  10. brian m. carlsonMay 13, 2017
  11. brian m. carlsonMay 13, 2017
  12. builtin/log: honor log.decoratebrian m. carlson, May 14, 2017
  13. Junio C HamanoMay 15, 2017
  14. Alex HenrieMay 15, 2017
  15. Jonathan NiederMay 15, 2017

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.