Re: git log: Add a switch to limit the number of displayed lines from the commit messages
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 9 quoted lines
>> there are people out there disliking elaborate commit messages, as going
>> over `git log` is tedious as you have to scroll a lot. As I do not like
>> the suggestion to make commit messages shorter by omitting certain
>> details, a way to limit the number displayed lines of the commit
>> messages would be nice to have.
>
> Have you tried gitk or tig? They split the screen so you can browse
> through commits, one per line, in one half and read the corresponding
> commit messages and patches in the other.
Or inside "less" that is spawned by "git log -p", I often say this:
/^commit .*|^diff --git .*<ENTER>
and navigate with 'n' and 'p'.