git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Command specific pager settings
@ 2010-10-04  7:37 suvayu ali
  2010-10-04 13:53 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: suvayu ali @ 2010-10-04  7:37 UTC (permalink / raw)
  To: git

Hi everyone,

I am a new user of git and I was trying to configure the pager for git
and ran across something. Is it possible to have different command
options to less for different git commands?

I wanted to set my pager to `less -iRS' when looking at patches (so
that would mean commands like `git diff'), but would prefer `less
-iFRS' or even the git default `less -FRSX' for all other things e.g
`git log'.

I looked at core.pager and pager.<cmd> but I couldn't understand how I
could set different pagers for say just one/ a subset of commands (git
diff in my case).

Is this possible? If not, would it be a worthwhile feature request?
Thanks a lot for any pointers.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-04 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04  7:37 Command specific pager settings suvayu ali
2010-10-04 13:53 ` Jeff King
2010-10-04 23:07   ` suvayu ali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).