Thread (11 messages) flat view 11 messages, 3 authors, 2016-06-15

Re: [PATCH 3/4] --decorate now decorates ancestors, too

From: Theodore Tso <tytso@mit.edu>
Date: 2016-06-15 22:43:20

On Wed, Jul 11, 2007 at 02:29:49AM +0100, Johannes Schindelin wrote:
The option --decorate changed default behavior: Earlier, it decorated
commits pointed to by any ref.  The new behavior is this: decorate the
with the given refs and its ancestors, i.e.

	git log --decorate next master

will show "next", "next^", "next~2", ..., "master", "master^", ...
in parenthesis after the commit name.
I'm wondering how useful the default is.  The arguments get used for
two things; both for git-log to decide what revisions to display, and
which refs to decorate, right?  I'm not sure that overloading is such
a great idea.

Also, I note that "git log --decorate" does nothing at all.  Maybe it
would be better to keep the default to be "any-ref" instead of "given"?

		      	 	   	    - Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help