Re: [PATCH v3 0/4] fixing some parse_commit() timestamp corner cases
- From
Jeff King <peff@peff.net>
- Date
- Apr 27, 2023, 08:18 UTC
- Message-ID
- <20230427081842.GA1478510@coredump.intra.peff.net>
- In-Reply-To
- <20230427081330.GA1461786@coredump.intra.peff.net>
On Thu, Apr 27, 2023 at 04:13:31AM -0400, Jeff King wrote:
Show 7 quoted lines
> @@ t/t4212-log-corrupt.sh: test_expect_success 'absurdly far-in-future date' ' > + # test bogus timestamps with git-log, 2014-02-24) for more discussion. > + echo : >expect && > + git log -1 --format="%at:%ct" $ws_commit >actual && > ++ test_cmp expect actual && > ++ git log -1 --format="%at:%ct" $vt_commit && > + test_cmp expect actual
In case anyone is just reading the range-diff, you may notice that the added git-log invocation here is missing its ">actual" redirect. I noticed this while sending out, and it's fixed in the actual v3 patch that was sent.
-Peff