Re: [PATCH] diff: setup pager only before diff contents truly ready
On Sat, Oct 19, 2024, at 22:39, Y5 via GitGitGadget wrote:
> From: y5c4l3 <y5c4l3@proton.me>
>
> git-diff setups pager at an early stage in cmd_diff; running diff with
> invalid options like git diff --invalid will unexpectedly starts a
> pager, which causes behavior inconsistency.
>
> The pager setup routine should be moved right before the real diff
> contents, in case there is any argv error.
*Any* argv error? Maybe “an argv error”?
“any argv error” looks like there isn’t an agreement on plural/singular.
--
Kristoffer Haugsbakk