Re: using git-diff as a diff replacement?

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

 



On Wed, Feb 24, 2016 at 6:38 PM, Duy Nguyen <pclouds@xxxxxxxxx> wrote:
> On Thu, Feb 25, 2016 at 5:21 AM, Jacob Keller <jacob.keller@xxxxxxxxx> wrote:
>> Hey,
>>
>> I know that running "git diff <path> <path>" when outside a git
>> project will result in a normal diff being run. I happen to prefer the
>> diff algorithm and diff output of "git diff" but there does not seem
>> to be a way to have this behavior from within a git tree.
>
> git diff --no-index <path> <path>
>
> ?
> --
> Duy

Yep thanks.. I swear I did git help diff, but I guess I am blind. This
does what I want, and I had my shell alias diff so I don't forget :D

Thanks,
Jake
--
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]