Re: [PATCH] pager: die when paging to non-existing command
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jun 20, 2024, 22:17 UTC
- Message-ID
- <ba5965c2-9f1c-4dd2-a2c5-e1bde832766c@kdbg.org>
- In-Reply-To
- <xmqqsex7tp0c.fsf@gitster.g>
Am 20.06.24 um 21:04 schrieb Junio C Hamano:
> Just in case there is a reason why we should instead silently return > on MinGW, I'll Cc the author of bfdd9ffd, though.
I don't think there is a reason. IIRC, originally on Windows, failing to start a pager would still let Git operate normally, just without paged output. I might have regarded this as better than to fail the operation.
-- Hannes