Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Don't use the pager when running "git diff --check"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:59

Wincent Colaiuta [off-list ref] writes:
El 14/12/2007, a las 6:11, Junio C Hamano escribió:
quoted
You are right.  While I do not personally miss paging output, it is a
regression not to page --check output by default.
I thought this was ok because "git diff --exit-code" also produces
useful output and also turns off the pager.
It is different.  --exit-code was that way from day one.  The primary
use of --check has been (and I suspect it will continue to be) for
people to _view_ the diff, spot problems so that they can fix them up,
and for that use case, exit code does not matter but pageability does.
You are introducing a new behaviour and a new use case --- that does not
give you a license to break other existing use cases.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help