On Tue, May 02, 2023 at 07:11:14PM -0700, Dan Davison wrote: > If I do > > yes | less > # exit with q > echo $? > > The exit code is 0. > > However, if I do > > GIT_PAGER=less git log > # exit with q > echo $? > > The exit code is 255. > > Is this intentional, or would it be better for the pager when invoked by > git to behave like the pager does when invoked directly?
Also, does this thread [1] on the main Git list maybe discuss your exact problem? 1. https://public-inbox.org/git/yag%2fvzctp4jws...@zira.vinc17.org/ -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20230503091510.4rqavlguv5d6jo24%40carbon.