emacs-devel
[Top][All Lists]
Advanced

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

Re: git question


From: Andreas Schwab
Subject: Re: git question
Date: Wed, 27 Jun 2018 17:02:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

On Jun 27 2018, Yuri Khan <address@hidden> wrote:

> On Wed, Jun 27, 2018 at 9:29 PM Jean-Christophe Helary
> <address@hidden> wrote:
>
>> $ git diff address@hidden
>>
>> Thank you, and thank you Andreas for the same reply.
>
> Note the subtle difference: “git diff address@hidden will give the diff
> between previous and current states, while “git diff address@hidden will
> give the same diff but in reverse.

No, they are both the same (unless your working tree is in modified
state).

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]