[Top][All Lists]

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

comparing code on different branches

From: Jean-Christophe Helary
Subject: comparing code on different branches
Date: Tue, 4 Jul 2017 09:53:17 +0900

Sorry, it is more a git question than an emacs question:

I have created a branch where I do my work.

Now, when I test my code modifications, I do eval-buffer etc. But what if I 
also want to test what master does to compare the results?

Do I have to go through a stash/checkout/test/checkout stash apply cycle?

I thought I could actually do my modifications in the scratch buffer and keep 
the original file clean, so that I can always compare, but that seems a bit 
convoluted. Any better idea?


reply via email to

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