From: Duy Nguyen Date: Wed, 13 Mar 2019 01:20:34 GMT Subject: Re: Deprecating git diff ..; dealing with other ranges Message-ID: In-Reply-To: <87va0orop4.fsf@igel.home> On Wed, Mar 13, 2019 at 12:26 AM Andreas Schwab wrote: > > On Mär 12 2019, Junio C Hamano wrote: > > > I however think it may be worth making sure that our docs do not > > encourage "diff A..B" and teach "diff A B" when comparing two > > endpoints. That can be done without changing anything in the code. > > The nice thing about "diff A..B" is that you can c&p the output from the > fetch run without the need to edit it. I do this copy&paste too though I think in this case we could improve something to not copy&paste in the first place. A..B from fetch is the same as branch@{1}..branch. If we have some shortcut similar to ^! but for reflog, that would be perfect (the branch part does not require much typing with tab completion). -- Duy