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

Re: [PATCH] revision: fix --left/right-only use with unrelated histories

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 1, 2025, 09:56 UTC
Message-ID
<xmqqwmc49pcl.fsf@gitster.g>
In-Reply-To
<644ce9b5-755c-4faf-aaf8-b0383e12ff64@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
> Am 30.03.25 um 07:49 schrieb Matt Hunter:
>> +	test $(comm -12 <(sort head) <(sort cmp) | wc -l) = "0"
>
> Process substitution does not work on Windows. Please use temporary files.

Also it is not portable across POSIX compilant shells (IIRC it is a bash-ism).

Previous: Johannes SixtNext: Phillip Wood
Message 3 of 9 in “revision: fix --left/right-only use with unrelated histories”
  1. revision: fix --left/right-only use with unrelated historiesMatt Hunter, Mar 30, 2025
  2. Johannes SixtMar 30, 2025
  3. Junio C HamanoApr 1, 2025
  4. Phillip WoodMar 30, 2025
  5. Matt HunterMar 30, 2025
  6. phillip.wood123@gmail.comApr 2, 2025
  7. Matt HunterApr 4, 2025
  8. revision: fix --left/right-only use with unrelated historiesMatt Hunter, Mar 30, 2025
  9. Junio C HamanoApr 11, 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.