Miles Bader <
miles@...> writes:
> 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 am thinking that we could have 2 modes for the log:
- a short one that would be used by default for directory logs
- the current long one that would be used for file logs
(I haven't completely thought this through)...
> 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
Looks better indeed. As long as the version that it prints can be used
to show the corresponding diff, we should be good.
> [note there are _two_ spaces between fields, which makes the result much
> more readable than one, I think]
I want the graph too