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

Re: [PATCH] t4014: support Git version strings with spaces

From
René Scharfe <l.s.r@web.de>
Date
Dec 13, 2025, 08:49 UTC
Message-ID
<1259f5a3-472c-4805-a6d2-8fb871de8922@web.de>
In-Reply-To
<xmqqsedeai33.fsf@gitster.g>
On 12/13/25 9:42 AM, Junio C Hamano wrote:
Show 7 quoted lines
> René Scharfe <l.s.r@web.de> writes:
> 
>> git --version reports its version with the prefix "git version ".
>> Remove precisely this string instead of everything up to and including
>> the first space to avoid butchering version strings that contain spaces.
> 
> "everything up to and including the last (rightmost) space"?
Ugh, yes, did that before.  Perhaps a variant of left-right confusion? :-|
René
Previous: Junio C HamanoNext: René Scharfe
Message 3 of 4 in “t4014: support Git version strings with spaces”
  1. t4014: support Git version strings with spacesRené Scharfe, Dec 13, 2025
  2. Junio C HamanoDec 13, 2025
  3. René ScharfeDec 13, 2025
  4. t4014: support Git version strings with spacesRené Scharfe, Dec 13, 2025

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.