Re: [PATCH] push: fix --force-if-includes when remote-tracking ref has no reflog
- From
Aleksei Sviridkin <f@lex.la>
- Date
- Sep 5, 2026, 17:13 UTC
- Message-ID
- <20260905171343.34722-1-f@lex.la>
- In-Reply-To
- <xmqqpkyt3qul.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> I prefer patches with human-readable explanations and known origin.
Dropped the trailer. You will not see it again.
On origin: this comes out of git's own tree, not an outside corpus, and that is why every claim in the message names a file or a commit you can check. The change here is one line, timestamp_t date; becoming timestamp_t date = 0;. I read the whole thing and can explain any line of it, and the sign-off is what carries that.
v3 uses your wording for the first paragraph and explains why zero is the right fallback rather than "now" or a fixed age.