Thread (1 message) 1 message, 1 author, 2021-02-03

Re: [PATCH] pager: exit without error on SIGPIPE

From: Junio C Hamano <hidden>
Date: 2021-02-03 18:14:13

Johannes Sixt [off-list ref] writes:
quoted
I guess we are then in agreement---I do think it makes sense to send
the true exit code from the pager as the exit code from the pager to
the trace output, which is what the early part of Ævar's patch does,
but I do not think the exit code of the pager should affect the exit
code from "git log" as a whole.
Then we do not agree. The exit code of `git log | less` is ignored, and
I regard `git -p log` just as a short-hand for that.
I think you skipped "not" while reading the "but I do not think"
part of the last sentence.
The only thing I care is that git does not die due to a SIGPIPE when the
pager is closed early.
Makes two of us ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help