« Return to Thread: VC top of the tree diff and log

Re: VC top of the tree diff and log

by Miles Bader-2 :: Rate this Message:

Reply to Author | View in Thread

Dan Nicolaescu <dann@...> writes:
> A related question: should we have an option (or default?) to show the
> short version (--pretty=oneline --graph) ?

Would be useful, though I dunno what you'd bind it too... at some point
having too many bindings for essentially-similar-commands becomes kind
of annoying/confusing.

I don't really like the default --pretty=oneline format though, as it
wastes too much space on the hash, and doesn't show a date (which I find
very useful in looking at logs).

Here's what I use (with my own "slog" alias):

   --date=short --pretty=format:"%h  %ad  %s" --abbrev-commit

[note there are _two_ spaces between fields, which makes the result much
more readable than one, I think]

-Miles

--
Suburbia: where they tear out the trees and then name streets after them.


 « Return to Thread: VC top of the tree diff and log