Re: [PATCH] warn use of "git diff A..B"

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

 



On Wed, Mar 23, 2011 at 22:45, Junio C Hamano <gitster@xxxxxxxxx> wrote:

I agree with Jakub. I often write something like this:

    $ git log origin/master..origin/pu
    $ ^log^diff
    git diff origin/master..origin/pu

It would be annoying to have that start to warn.

> + Â Â Â warning("Do not write 'git diff A..B' but write 'git diff A B'");
> + Â Â Â warning("diff is about two endpoints!");

And in any case this warning is way too terse to give the user an idea
of what this is about.
--
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]