All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jeff King <peff@peff.net>, Kristian H??gsberg <krh@redhat.com>,
	Matthias Kestenholz <mk@spinlock.ch>,
	Johannes Schindelin <Johannes.Schindelin@gmx.de>,
	users@kernel.org, Andi Kleen <andi@firstfloor.org>,
	Petr Baudis <pasky@suse.cz>, Junio C Hamano <gitster@pobox.com>,
	David Woodhouse <dwmw2@infradead.org>, Willy Tarreau <w@1wt.eu>,
	git@vger.kernel.org, "Shawn O. Pearce" <spearce@spearce.org>
Subject: Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Date: Wed, 27 Aug 2008 19:49:54 -0400	[thread overview]
Message-ID: <48B5E822.1020901@pobox.com> (raw)
In-Reply-To: <alpine.LFD.1.10.0808271420210.3363@nehalem.linux-foundation.org>

Linus Torvalds wrote:
> 
> On Wed, 27 Aug 2008, Jeff Garzik wrote:
>> I use it to spit out a patch for a specific commit:
>>
>> 	git-diff-tree -p $COMMIT
> 
> 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".

'git show' is quite sufficient, as long as I can pipe its output into 
patch(1) or write it to a foo.patch file, which appears to be the case.

git-diff-tree -p was from the old days; I readily admit being a git 
old-timer :)

Anything that reduces my typing is great, and 'git show' is certainly an 
improvement in that regard.

	Jeff, typing with a sprained finger (puppies can be a handful)

  reply	other threads:[~2008-08-27 23:52 UTC|newest]

Thread overview: 193+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-24  3:33 [RFD] On deprecating "git-foo" for builtins Junio C Hamano
2008-08-24  4:23 ` [kernel.org users] " Linus Torvalds
2008-08-24  4:54   ` Imran M Yousuf
2008-08-24  8:40 ` Stefan Richter
2008-08-25 11:49 ` David Woodhouse
2008-08-25 12:17   ` Geert Uytterhoeven
2008-08-25 12:43   ` Andi Kleen
2008-08-26  3:00     ` A Large Angry SCM
2008-08-25 13:22   ` Ben Collins
2008-08-25 14:38     ` Felipe Contreras
2008-08-25 18:19   ` Johannes Schindelin
2008-08-25 23:41     ` Junio C Hamano
2008-08-26 12:27       ` David Woodhouse
2008-08-26 14:57       ` Jeff King
2008-08-26 15:34         ` Kristian Høgsberg
2008-08-26 15:59           ` David Woodhouse
2008-08-26 16:04             ` Matthias Kestenholz
2008-08-26 16:25               ` Petr Baudis
2008-08-26 16:45                 ` Andi Kleen
2008-08-26 17:04                   ` Jeff King
2008-08-26 17:05                   ` Linus Torvalds
2008-08-26 17:27                     ` Andi Kleen
2008-08-27  6:04                       ` Ulrich Windl
2008-08-26 17:10                   ` Petr Baudis
2008-08-26 17:11                     ` [PATCH] bash completion: Hide more plumbing commands Petr Baudis
2008-08-26 17:24                       ` Shawn O. Pearce
2008-08-26 17:43                         ` Jakub Narebski
2008-08-26 18:25                         ` Junio C Hamano
2008-08-26 18:27                           ` Shawn O. Pearce
2008-08-26 19:04                           ` Daniel Barkalow
2008-08-26 19:07                             ` Shawn O. Pearce
2008-08-26 19:23                               ` Daniel Barkalow
2008-09-03 22:23                           ` Petr Baudis
2008-09-03 22:31                             ` Petr Baudis
2008-08-26 17:38                       ` Jakub Narebski
2008-09-03 17:56                         ` Petr Baudis
2008-09-04  4:57                           ` Junio C Hamano
2008-08-26 21:53                       ` Matthieu Moy
2008-08-27  9:09                         ` Karl Hasselström
2008-08-26 17:12                     ` [kernel.org users] [RFD] On deprecating "git-foo" for builtins Shawn O. Pearce
2008-08-26 17:16                       ` Jeff King
2008-08-26 17:47                         ` Nguyen Thai Ngoc Duy
2008-08-26 21:06                         ` Willy Tarreau
2008-08-27 20:24                           ` Jeff Garzik
2008-08-27 20:27                             ` Jeff King
2008-08-27 20:38                               ` Jeff Garzik
2008-08-27 20:53                                 ` Jeff King
2008-08-27 21:05                                 ` Matthew Wilcox
2008-08-27 21:13                                   ` Adrian Bunk
2008-08-27 21:22                                     ` Jeff King
2008-08-27 22:29                                       ` Adrian Bunk
2008-08-27 21:23                                 ` Linus Torvalds
2008-08-27 23:49                                   ` Jeff Garzik [this message]
2008-08-28  6:51                                     ` Ingo Molnar
2008-08-28  7:46                                       ` git-show vs git-log (or: git show vs git log) Dominik Brodowski
2008-08-28 14:44                                       ` [kernel.org users] [RFD] On deprecating "git-foo" for builtins Alex Riesen
2008-08-28  5:43                                 ` Mike Hommey
2008-08-27 20:50                             ` Linus Torvalds
2008-08-27  6:00                   ` Ulrich Windl
2008-08-27  7:59                     ` H. Peter Anvin
2008-08-27 19:14                     ` Matthew Wilcox
2008-08-27 19:43                     ` Perry Wagle
2008-08-27 19:50                       ` Jeff King
2008-08-27 19:54                         ` Perry Wagle
2008-08-27 20:43                           ` H. Peter Anvin
2008-08-27 21:19                             ` Steven Rostedt
2008-08-27 23:27                               ` Junio C Hamano
2008-08-27 23:53                                 ` Perry Wagle
2008-08-28  0:05                                   ` Perry Wagle
2008-08-28  9:04                                     ` Petr Baudis
2008-08-28 10:33                                       ` Perry Wagle
2008-08-28 10:42                                         ` David Woodhouse
2008-08-28 19:56                                           ` Perry Wagle
2008-08-28 10:47                                         ` Petr Baudis
2008-08-28 16:35                                         ` Linus Torvalds
2008-08-28 19:24                                           ` Perry Wagle
2008-08-28 19:52                                             ` Teemu Likonen
2008-08-28 20:23                                               ` Perry Wagle
2008-08-28 20:44                                                 ` Petr Baudis
2008-08-28 20:57                                                   ` Perry Wagle
2008-08-28 21:23                                                 ` Jeff King
2008-08-28 21:41                                                   ` Perry Wagle
2008-08-28 21:53                                                     ` Petr Baudis
2008-08-28 21:59                                                     ` Jeff King
2008-08-28 22:33                                                       ` Perry Wagle
2008-08-28 23:04                                                         ` Jeff King
2008-08-28 23:22                                                           ` Perry Wagle
2008-08-28 23:36                                                             ` Jeff King
2008-08-28 23:24                                                           ` Junio C Hamano
2008-08-28 23:28                                                             ` Perry Wagle
2008-08-28 23:30                                                             ` Petr Baudis
2008-08-28 23:41                                                             ` git-* in test scripts (was On deprecating "git-foo" for builtins) Jeff King
2008-08-29  0:04                                                               ` git-* in test scripts Junio C Hamano
2008-08-29  0:10                                                                 ` Jeff King
2008-08-29  7:51                                                           ` [kernel.org users] [RFD] On deprecating "git-foo" for builtins Andreas Ericsson
2008-08-29  8:05                                                             ` Matthieu Moy
2008-08-29  8:23                                                               ` Andreas Ericsson
2008-08-29  8:27                                                               ` Matthias Kestenholz
2008-08-29  9:02                                                                 ` Matthieu Moy
2008-08-28 23:12                                                         ` Perry Wagle
2008-08-29 15:24                                                           ` Aidan Van Dyk
2008-08-29 16:11                                                             ` Felipe Contreras
2008-08-29 16:24                                                               ` Aidan Van Dyk
2008-08-29 16:28                                                                 ` Felipe Contreras
2008-08-29 16:41                                                                   ` Aidan Van Dyk
2008-08-30  8:13                                                                   ` Andreas Ericsson
2008-08-28 23:31                                                         ` Jakub Narebski
2008-08-29  9:33                                                   ` Wincent Colaiuta
2008-08-30 13:24                                                     ` Steven Rostedt
2008-08-30 13:50                                                       ` Teemu Likonen
2008-08-30 14:08                                                         ` Steven Rostedt
2008-08-26 17:07                 ` Jeff King
2008-08-26 17:42                   ` Teemu Likonen
2008-08-26 16:17             ` Kristian Høgsberg
2008-08-26 16:23             ` Jean Delvare
2008-08-26 16:50               ` Takashi Iwai
2008-08-26 17:20                 ` Jean Delvare
2008-08-27  7:42                   ` Andreas Ericsson
2008-08-27  8:21                     ` Jean Delvare
2008-08-27 15:14                       ` Geert Uytterhoeven
2008-08-26 20:14               ` H. Peter Anvin
2008-08-27  7:42                 ` Jean Delvare
2008-08-27  8:32                 ` [kernel.org users] " Andreas Ericsson
2008-08-26 17:03             ` Linus Torvalds
2008-08-26 17:29               ` Bruce Stephens
2008-08-26 17:35                 ` Petr Baudis
2008-08-26 17:38                   ` Bruce Stephens
2008-08-28 15:21                   ` Johannes Schindelin
2008-08-26 17:34               ` Takashi Iwai
2008-08-26 18:09               ` Dominik Brodowski
2008-08-26 18:19                 ` Linus Torvalds
2008-08-26 18:55                   ` Al Viro
2008-08-26 19:04                     ` Linus Torvalds
2008-08-26 19:22                       ` Al Viro
2008-08-26 19:11                     ` Teemu Likonen
2008-08-28 15:24                     ` Johannes Schindelin
2008-08-26 21:08                   ` Dominik Brodowski
2008-08-26 21:28                   ` Junio C Hamano
2008-08-26 21:38                     ` Linus Torvalds
2008-08-26 23:21                   ` Perry Wagle
2008-08-27 15:27                     ` Steven Rostedt
2008-08-27 23:09                       ` Russell King
2008-08-27 23:53                         ` Stefan Richter
2008-08-28 19:19                           ` Russell King
2008-08-28 20:10                             ` Junio C Hamano
2008-08-28 20:30                               ` Matthew Wilcox
2008-08-28 20:36                               ` Petr Baudis
2008-08-28 20:57                             ` Stefan Richter
2008-08-28 21:05                               ` Perry Wagle
2008-08-28  1:25                         ` Steven Rostedt
2008-08-27  0:34               ` A Large Angry SCM
2008-08-27 12:23           ` Krzysztof Halasa
2008-08-26 20:39         ` Junio C Hamano
2008-08-26 21:03           ` Jeff King
2008-08-27  2:24             ` Jay Soffian
2008-08-27 14:49               ` H. Peter Anvin
2008-08-26 23:36           ` Perry Wagle
2008-08-26 23:45           ` Nicolas Pitre
2008-08-28 15:32             ` Johannes Schindelin
2008-08-27  0:17           ` Matthew Wilcox
2008-08-27 22:52             ` Russell King
2008-08-28 15:34               ` Johannes Schindelin
2008-08-28 16:10                 ` Matthew Wilcox
2008-08-28 19:18                   ` Johannes Schindelin
2008-08-28 19:27                     ` Matthew Wilcox
2008-08-27 23:38             ` Junio C Hamano
2008-08-28  0:09               ` Felipe Contreras
2008-08-28  0:44                 ` Jeff Garzik
2008-08-28  7:14               ` David Woodhouse
2008-08-28  8:17                 ` Junio C Hamano
2008-08-28  8:32                   ` David Woodhouse
2008-08-28  8:57                     ` Felipe Contreras
2008-08-28 11:54                       ` Al Viro
2008-08-28 13:15                         ` Felipe Contreras
2008-08-28 13:34                           ` Felipe Contreras
2008-08-28 13:45                             ` Paolo Ciarrocchi
2008-08-28 16:37                             ` Linus Torvalds
2008-08-28 20:42                               ` Perry Wagle
2008-08-28 23:03                                 ` Jakub Narebski
2008-08-28 23:14                                   ` Perry Wagle
2008-08-28 23:45                                     ` Jeff King
2008-08-28 23:55                                       ` Perry Wagle
2008-08-29 14:12                               ` Felipe Contreras
2008-08-28 14:06                     ` Nicolas Pitre
2008-08-28 14:13                       ` Nicolas Pitre
2008-08-28 16:17                     ` Linus Torvalds
2008-08-26  2:58   ` A Large Angry SCM
2008-08-26  7:17     ` Jean Delvare
2008-08-26 11:12       ` A Large Angry SCM
2008-08-26 11:56         ` Stefan Richter
2008-08-26 21:00           ` Steven Rostedt
2008-08-26 14:28         ` Shawn O. Pearce
2008-08-26 14:46       ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B5E822.1020901@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=andi@firstfloor.org \
    --cc=dwmw2@infradead.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=krh@redhat.com \
    --cc=mk@spinlock.ch \
    --cc=pasky@suse.cz \
    --cc=peff@peff.net \
    --cc=spearce@spearce.org \
    --cc=torvalds@linux-foundation.org \
    --cc=users@kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.