"Boyd Stephen Smith Jr." <bss03@xxxxxxxxxxxxxx> writes: >> $ git log >foo.out >> >>and start a pager, which makes no sense. > > Good point, I'll try and consider that while I investgate the history of the > issue. Isn't the issue about 61b8050 (sending errors to stdout under $PAGER, 2008-02-16)? With that commit, we changed things so that when we send the standard output to the $PAGER, we dup stderr to the $PAGER as well, because otherwise any output to stderr will be wiped out by whatever the pager does and the user will not notice the breakage. E.g. $ git log will just show reams of output, and you won't see any errors and warnings even if there were any encountered during the process. Unfortunately we did it unconditionally. There is no reason to dup stderr to the $PAGER if the command line was: $ git log 2>error.log in which case you would want to view the normal output in your $PAGER and you are keeping the log of the error output in a separate file. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html