Re: [PATCH] describe: count the distance correctly when commit dates are skewed
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 1, 2026, 18:12 UTC
- Message-ID
- <xmqq5wyg1kus.fsf@gitster.g>
- In-Reply-To
- <20261101094653.NKAEk%taahol@utu.fi>
Tuomas Ahola <taahol@utu.fi> writes:
> Hmm, only in Bash---something I forgot to test. This of course fails properly: > > $ make -C t/ SHELL=bash t6120-describe.sh
It is more like "we must not use anything that relies on test_when_finished in a subshell in any shell, and we wanted to detect such mistaken use of test_config and its friends, but that unfortunately was something we couldn't do portably". It would be great if you can make the check available to other shells ;-) but that would be a completely separate topic.
In any case, let's pick up this patch and move it forward.
Thanks, all.