Re: [PATCH] rev-list: clarify git-log default date format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 2, 2023, 16:17 UTC
- Message-ID
- <xmqqfsbovy7u.fsf@gitster.g>
- In-Reply-To
- <d9fc8688-bbf1-96c2-07bf-a12fe38625a9@dulfer.be>
Rafael Dulfer <rafael@dulfer.be> writes:
> like. "`--date=default` is the default format. It is a custom format > based on rfc2822".
But the thing is it is *not* custom based on rfc2822. The default format came first, 2822 much later. If I have to guess (and I shouldn't because I was around back when we invented that format, but I am lazy and my recollecion hazy), it came straight from the result of ctime() but with timezone info appended at the end.