Is there a command-line switch to pass to git diff and other commands that use the less pager by default?
I know I can pipe it to cat, but that removes all the syntax highlighting.
I know I can set the pager in the global .gitconfig to cat by GITPAGER=cat (or something like that), but I want to have pager sometimes (depending on the size of the diff).
But, I would prefer a command-line switch if there is one; and I am not able to find one, going through the man pages.