emacs-devel
[Top][All Lists]
Advanced

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

Re: comparing code on different branches


From: Marcin Borkowski
Subject: Re: comparing code on different branches
Date: Tue, 04 Jul 2017 07:53:35 +0200
User-agent: mu4e 0.9.19; emacs 26.0.50

On 2017-07-04, at 02:57, John Wiegley <address@hidden> wrote:

>>>>>> "JH" == Jean-Christophe Helary <address@hidden> writes:
>
> JH> Now, when I test my code modifications, I do eval-buffer etc. But what if
> JH> I also want to test what master does to compare the results?
>
> JH> Do I have to go through a stash/checkout/test/checkout stash apply cycle?
>
> If it's just one file, you can use C-x v ~ master RET to open master's version
> in another buffer, and then eval-buffer there to compare.

Nice indeed!

BTW, is there a Magit way of doing this?

Best,

-- 
Marcin Borkowski



reply via email to

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