Thread (76 messages) flat view 76 messages, 33 authors, 2016-06-15

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

From: Mike Hommey <hidden>
Date: 2016-06-15 22:45:15

Possibly related (same subject, not in this thread)

On Wed, Aug 27, 2008 at 04:38:13PM -0400, Jeff Garzik wrote:
Jeff King wrote:
quoted
On Wed, Aug 27, 2008 at 04:24:19PM -0400, Jeff Garzik wrote:
quoted
Indeed.

Also, I type "git-diff-tree" quite a lot.

My fingers find that

	git SPACE diff DASH tree

is slower and less consistent than

	git DASH diff DASH tree

The same with git-format-patch...  We are going from "all dashes" to 
"a  mix of space and dashes" which is increasing inconsistency.
I have also found the SPACE-DASH slightly harder to type. However, I'm
curious: what are you doing frequently from the commandline with
git-diff-tree that is not just as easily done with git-diff?
I use it to spit out a patch for a specific commit:

	git-diff-tree -p $COMMIT

Though probably someone will now come along and tell me I'm am  
old-timer, and there is a shorter command that accomplishes the same  
thing :)
Other than why you use git diff-tree so much, why don't you set 2
letters aliases for your most commonly used commands ?
[alias]
        st = status
        co = checkout
        fp = format-patch
        dt = diff-tree
etc.

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