Re: [PATCH v3 2/4] approxidate: alias "today" to "now"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 14, 2026, 15:36 UTC
- Message-ID
- <xmqqwlx6f1fo.fsf@gitster.g>
- In-Reply-To
- <20260514115520.6660-3-taahol@utu.fi>
Tuomas Ahola <taahol@utu.fi> writes:
> Sorry, I don't know if I understood. Does the patch change the behavior of > that command somehow? Is there some kind of edge case I missed?
No, I did not think it was a good idea to carve the behaviour in stone that "git log --since=today" behaves as if it were given "git log --since=now". My reaction would have been very different if we were deliberatly and explicitly saying "today is synonym for now", but the thing is, it is not a designed behaviour but what approxidate does for anything it does not understand, e.g.
git log --since=decay
git log --since=bogusall behave as if it were given --since=now.