Re: git rev-list --pretty=format:"" issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Forrest Galloway <f.galloway@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]