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: John Wiegley
Subject: Re: comparing code on different branches
Date: Mon, 03 Jul 2017 17:57:52 -0700
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.2.50 (darwin)

>>>>> "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.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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