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

Re: Add a "git show" command to show a commit

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:18

Possibly related (same subject, not in this thread)


On Sun, 5 Feb 2006, Junio C Hamano wrote:
Isn't this "git whatchanged -n1 --cc --always"?
Getting closer, yes.

Especially these days that you can write "-1" instead of "--max-count=1", 
and if we make "--cc" the default for "git-whatchanged", I guess we could 
just drop this.
Except that --cc does not make much sense without being -p, so
the logic to do --name-status and friends are pretty much
wasted, no?
You're right. The "--cc" should be in the default flags (instead of -p), 
not unconditionally on the command line.

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