Re: git rev-list --pretty=format:"" issue
- From
Thomas Rast <trast@inf.ethz.ch>
- Date
- Apr 18, 2013, 07:30 UTC
- Message-ID
- <87bo9cxplv.fsf@linux-k42r.v.cablecom.net>
- In-Reply-To
- <7vk3o0erjq.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> Forrest Galloway <f.galloway@gmail.com> writes: > >> git 1.8.2.1 on OSX(Mountain Lion) installed with Homebrew >> >> I am seeing an issue when trying to format the output from rev-list command. >> git log --pretty=format:"%H - %an, %ar : %s" When I attempt the above >> string, instead of printing to the shell, LESS is opened and the >> output is displayed there.
[...]
> > Actually, less is running in both cases.
[...]
> If you do not want pager, run it with no-pager, like this: > > git --no-pager log ...your other parameters...
Also note that the pager is automatically disabled if you redirect stdout, so --no-pager is only required in some fringe cases, notably when attempting to run git under GDB.
--
Thomas Rast
trast@{inf,student}.ethz.ch