Re: Add a "git show" command to show a commit
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Feb 5, 2006, 22:55 UTC
- Message-ID
- <Pine.LNX.4.64.0602051451360.3854@g5.osdl.org>
- In-Reply-To
- <7vd5i1h1bx.fsf@assigned-by-dhcp.cox.net>
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