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?

Thanks,

Dan

-- 
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/985d585c-86bd-4b0b-90b3-93ee64243c31n%40googlegroups.com.

Reply via email to