Re: git log: Add a switch to limit the number of displayed lines from the commit messages

2013-06-16 Thread Jonathan Nieder
Junio C Hamano wrote: > Or inside "less" that is spawned by "git log -p", I often say this: > > /^commit .*|^diff --git .* > > and navigate with 'n' and 'p'. Hm, that implies an interesting trick. If I run LESS='FRSX +/^commit |^diff --git ' git log -p then 'n' and shift+'n' can be

Re: git log: Add a switch to limit the number of displayed lines from the commit messages

2013-06-16 Thread Junio C Hamano
Jonathan Nieder writes: >> 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 line

Re: git log: Add a switch to limit the number of displayed lines from the commit messages

2013-06-15 Thread Jonathan Nieder
Hi Paul, Paul Menzel wrote: > 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 line

git log: Add a switch to limit the number of displayed lines from the commit messages

2013-06-15 Thread Paul Menzel
Dear git folks, 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 mess