[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC top of the tree diff and log
From: |
Dan Nicolaescu |
Subject: |
Re: VC top of the tree diff and log |
Date: |
Wed, 8 Jul 2009 17:29:58 -0700 (PDT) |
Miles Bader <address@hidden> writes:
> Dan Nicolaescu <address@hidden> 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
Re: VC top of the tree diff and log, Stefan Monnier, 2009/07/11