tig icon indicating copy to clipboard operation
tig copied to clipboard

able to config main view to display message body

Open zachvalenta opened this issue 5 years ago • 3 comments

Thinking it would be a nice option, especially for a quick visual parse of which commits had a lot of contextual notes included via message body.

zachvalenta avatar Aug 12 '20 15:08 zachvalenta

How about :!git log

krobelus avatar Aug 12 '20 22:08 krobelus

log definitely does the trick in terms of viewing the message body; was just thinking it'd be nice to see the commit subject and body (perhaps reduced to only one line) and nothing else, so as to be able to tell at a glance which commits were the thorniest and required the most explanation in the message body. Versus log or something which requires paging.

zachvalenta avatar Aug 13 '20 14:08 zachvalenta

I see; I guess you could hack the main view to display the truncated body.

Or just filter the commits with something like tig -E --grep='(.*\n){9}'

krobelus avatar Aug 13 '20 19:08 krobelus