Re: Should "git help" respect the 'pager' setting?
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> It just needs to set $PAGER or $MANPAGER before the exec(), no?
Yes, that should do the same as "man -P".
> I would argue that it should do this. $GIT_PAGER works everywhere
> else, but obviously man has no knowledge about it.
I find it a bit weird that Git sets the configuration for external commands, but it may make sense. No strong opinion here.
Show 6 quoted lines
>> If you're an Emacs user, you can read about man.viewer and set it to
>> woman, or set PAGER=cat when inside Emacs.
>
> I just learnt about man.viewer. There's a small problem with it
> though: why is there no option for Emacs man corresponding to Emacs
> woman?
I guess because no one implemented it ;-).
>> I personally run M-x git-foo RET, and never run "git help".
>
> M-x man git-foo RET, you mean?
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/