From: Marcin Borkowski <mbork@mbork.pl>
To: John Wiegley <jwiegley@gmail.com>
Cc: Jean-Christophe Helary <jean.christophe.helary@gmail.com>,
emacs-devel <emacs-devel@gnu.org>
Subject: Re: comparing code on different branches
Date: Tue, 04 Jul 2017 07:53:35 +0200 [thread overview]
Message-ID: <87r2xw21eo.fsf@jane> (raw)
In-Reply-To: <m2podh6msv.fsf@newartisans.com>
On 2017-07-04, at 02:57, John Wiegley <jwiegley@gmail.com> wrote:
>>>>>> "JH" == Jean-Christophe Helary <jean.christophe.helary@gmail.com> 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
next prev parent reply other threads:[~2017-07-04 5:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-04 0:53 comparing code on different branches Jean-Christophe Helary
2017-07-04 0:57 ` John Wiegley
2017-07-04 1:14 ` Jean-Christophe Helary
2017-07-04 5:17 ` Tino Calancha
2017-07-04 5:53 ` Marcin Borkowski [this message]
2017-07-04 9:30 ` Yuri Khan
2017-07-04 23:05 ` Richard Stallman
2017-07-04 23:48 ` Jean-Christophe Helary
2017-07-05 22:59 ` Richard Stallman
2017-07-05 5:54 ` Etienne Prud’homme
2017-07-05 15:55 ` Yann Hodique
2017-07-05 16:07 ` Kaushal Modi
2017-07-05 19:56 ` Etienne Prud'homme
2017-07-06 15:58 ` Richard Stallman
2017-07-13 21:48 ` Etienne Prud’homme
2017-07-04 17:51 ` Stephen Leake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2xw21eo.fsf@jane \
--to=mbork@mbork.pl \
--cc=emacs-devel@gnu.org \
--cc=jean.christophe.helary@gmail.com \
--cc=jwiegley@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).