git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Tuomas AholaNext: SZEDER Gábor
Message 5 of 8 in “describe: count the distance correctly when commit dates are skewed”
  1. describe: count the distance correctly when commit dates are skewedLinus Torvalds, Oct 31, 2026
  2. Tuomas AholaOct 31, 2026
  3. Junio C HamanoNov 1, 2026
  4. Tuomas AholaNov 1, 2026
  5. Junio C HamanoNov 1, 2026
  6. SZEDER GáborNov 2, 2026
  7. Patrick SteinhardtNov 2, 2026
  8. Derrick StoleeNov 2, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.