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

Re: [PATCH v2] rev-list: clarify git-log default date format

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 16, 2023, 02:58 UTC
Message-ID
<xmqqfsb6tixy.fsf@gitster.g>
In-Reply-To
<Y+2R2qIVQG9hJpEA@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 24 quoted lines
> On Wed, Feb 15, 2023 at 04:42:25PM -0800, Junio C Hamano wrote:
>
>> The documentation mistakenly said that the default format was
>> similar to RFC 2822 format and tried to specify it by enumerating
>> differences, which had two problems:
>> 
>>  * There are some more differences from the 2822 format that are not
>>    mentioned; worse yet
>> 
>>  * The default format is not modeled after RFC 2822 format at all.
>>    As can be seen in f80cd783 (date.c: add "show_date()" function.,
>>    2005-05-06), it is a derivative of ctime(3) format.
>> 
>> Stop saying that it is similar to RFC 2822, and rewrite the
>> description to explain the format without requiring the reader to
>> know any other format.
>> 
>> Signed-off-by: Junio C Hamano <gitster@pobox.com>
>> ---
>>  * The discussion stalled and the topic was left in limbo for a few
>>    weeks.  Let's attempt to reboot it instead of silently waiting
>>    for a rerolled version from the original author.
>
> Thanks for keeping this moving. The proposed text looks great to me.

Thanks, but the formatting is broken, and needs a line with "--" on it at the end. What I will queue on 'seen' already has the correction.

Previous: Jeff KingNext: Junio C Hamano
Message 11 of 13 in “rev-list: clarify git-log default date format”
  1. rev-list: clarify git-log default date formatRafael Dulfer, Feb 1, 2023
  2. Junio C HamanoFeb 1, 2023
  3. Jeff KingFeb 1, 2023
  4. Ævar Arnfjörð BjarmasonFeb 1, 2023
  5. Junio C HamanoFeb 1, 2023
  6. Rafael DulferFeb 2, 2023
  7. Junio C HamanoFeb 2, 2023
  8. Junio C HamanoFeb 2, 2023
  9. rev-list: clarify git-log default date formatJunio C Hamano, Feb 16, 2023
  10. Jeff KingFeb 16, 2023
  11. Junio C HamanoFeb 16, 2023
  12. rev-list: clarify git-log default date formatJunio C Hamano, Feb 16, 2023
  13. Jeff KingFeb 16, 2023

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.