From: Junio C Hamano Date: Wed, 07 May 2014 20:42:02 GMT Subject: Re: [PATCH v2] pager: remove 'S' from $LESS by default Message-ID: In-Reply-To: Matthieu Moy writes: > Perhaps it deserves a mention in the doc, e.g. squashing this on top of > my patch: Thanks, will do. > > diff --git a/Documentation/config.txt b/Documentation/config.txt > index b7f92ac..ebd1676 100644 > --- a/Documentation/config.txt > +++ b/Documentation/config.txt > @@ -570,7 +570,9 @@ command to `LESS=FRX less -S`. The environment does not set the > long lines. Similarly, setting `core.pager` to `less -+F` will > deactivate the `F` option specified by the environment from the > command-line, deactivating the "quit if one screen" behavior of > -`less`. > +`less`. One can specifically activate some flags for particular > +commands: for example, setting `pager.blame` to `less -S` enables > +line truncation only for `git blame`. > + > Likewise, when the `LV` environment variable is unset, Git sets it > to `-c`. You can override this setting by exporting `LV` with