Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Wednesday, August 27, 2008 - 2:23 pm

On Wed, 27 Aug 2008, Jeff Garzik wrote:

Use

	git show $COMMIT

instead, which is shorter and gives you the log too, and uses a pager by 
default. And defaults to HEAD, so you don't even need to say $COMMIT if 
you want to see the top one. IOW, much nicer is so many ways.

Yeah, the "much nicer" obviously does mean "different". If you _rely_ on 
the fact that you don't get a pager (you just want to scroll youself), or 
you really don't want to see what the commit message was all about, then 
'git diff-tree' is obviously "better".

But at least personally, I really don't know when I last wanted to have 
anything else than 'git show' for showing a commit.

			Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFD] On deprecating "git-foo" for builtins, Junio C Hamano, (Sat Aug 23, 8:33 pm)
[PATCH] bash completion: Hide more plumbing commands, Petr Baudis, (Tue Aug 26, 10:11 am)
Re: [PATCH] bash completion: Hide more plumbing commands, Shawn O. Pearce, (Tue Aug 26, 10:24 am)
Re: [PATCH] bash completion: Hide more plumbing commands, Jakub Narebski, (Tue Aug 26, 10:38 am)
Re: [PATCH] bash completion: Hide more plumbing commands, Jakub Narebski, (Tue Aug 26, 10:43 am)
Re: [PATCH] bash completion: Hide more plumbing commands, Junio C Hamano, (Tue Aug 26, 11:25 am)
Re: [PATCH] bash completion: Hide more plumbing commands, Shawn O. Pearce, (Tue Aug 26, 11:27 am)
Re: [PATCH] bash completion: Hide more plumbing commands, Daniel Barkalow, (Tue Aug 26, 12:04 pm)
Re: [PATCH] bash completion: Hide more plumbing commands, Shawn O. Pearce, (Tue Aug 26, 12:07 pm)
Re: [PATCH] bash completion: Hide more plumbing commands, Daniel Barkalow, (Tue Aug 26, 12:23 pm)
Re: [RFD] On deprecating "git-foo" for builtins, Jean Delvare, (Wed Aug 27, 12:42 am)
Re: [kernel.org users] [RFD] On deprecating "git-foo" for ..., Linus Torvalds, (Wed Aug 27, 2:23 pm)
git-show vs git-log (or: git show vs git log), Dominik Brodowski, (Thu Aug 28, 12:46 am)
Re: git-* in test scripts, Junio C Hamano, (Thu Aug 28, 5:04 pm)
Re: git-* in test scripts, Jeff King, (Thu Aug 28, 5:10 pm)
Re: [PATCH] bash completion: Hide more plumbing commands, Junio C Hamano, (Wed Sep 3, 9:57 pm)