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).