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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 27, 2008 at 04:38:13PM -0400, Jeff Garzik wrote:
> Jeff King wrote:
>> On Wed, Aug 27, 2008 at 04:24:19PM -0400, Jeff Garzik wrote:
>>
>>> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux