From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: comparing code on different branches Date: Tue, 4 Jul 2017 14:17:53 +0900 (JST) Message-ID: References: <9A9EF0AB-8FD3-44C9-AAE8-ACACDEC69059@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1499145522 1573 195.159.176.226 (4 Jul 2017 05:18:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 05:18:42 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 07:18:38 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSGEO-0008OX-Ui for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 07:18:37 +0200 Original-Received: from localhost ([::1]:38660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSGER-0002Qe-3r for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 01:18:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSGDp-0002QZ-IT for emacs-devel@gnu.org; Tue, 04 Jul 2017 01:18:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSGDm-0006se-G7 for emacs-devel@gnu.org; Tue, 04 Jul 2017 01:18:01 -0400 Original-Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:34908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSGDm-0006rS-AS for emacs-devel@gnu.org; Tue, 04 Jul 2017 01:17:58 -0400 Original-Received: by mail-pf0-x233.google.com with SMTP id c73so109661313pfk.2 for ; Mon, 03 Jul 2017 22:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=I+PnNi2yUwi5pr7rFJTMy5RiFCkC8Iq6DVlJS0wqFXo=; b=SNZ0VQVrRCPFOJv1gF0gakNCSf80QIGwNPmomGT9IT2uvc4J4k3zy0okOvK2SpGJ0k L8nJ0Z67NGknmk7JEp5qGMWQa5DHhKn0bLGtV2hZr8KIMnEXNB0HIUPzQLqr/1G37Ivt mPvDoXKOPCmzIB6LokXT2jL2dZBMAGFnAYLbdLP9Eoks7SzNY3CN7f+dYnURq6o/PQxl DQUO1Q3PR20vcFTrJwQJ0/3jZ1h9G0rd/FFhwWRJVw7CpW8oCMek08qCwZ9gk0wj1qvu 0D4PApl81chnNlC057QMkb2avG9+srz3jmxT8msS2OpilWQ1ZS9YZeMIZUW+U13xWene koug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=I+PnNi2yUwi5pr7rFJTMy5RiFCkC8Iq6DVlJS0wqFXo=; b=M71CLbKssUAzDf4iSJsfhmjK7jwjrdVCdxBfwSuEeTXyEx+wAK+LRBpxRoq7HVUgeD V98mWB0yoSG5tU00vNcX+GSIHbUGVSzZGEz28zhWG9SH24sIORarBwH3DkZmszDAeOZL VWTUG3bWvC/jxAEf99paqGd1nFlwkMHSkHta0/9kFnY29sllEGlsC1uwVPAzS70cV0fH D/u31ORbLJMLcOxg6eoOsE3gJCO28mcbo4IJKNi9xjR5y6qHiTApj9mkFv8XlRfWMUs/ 0+PYmsNEuEBHL1+1Til9guNrKex0eCDd/wKvkL2KlzPrL7YN/SjP0HcQdgvy8kyfwGbn OUiw== X-Gm-Message-State: AIVw110n6/QuiURUckmFiEdjt0UUZBW0pe74RjPUoX1r2IPRy5kzWZ9c BmSJ0aAmqRu1Zw== X-Received: by 10.98.194.141 with SMTP id w13mr6558487pfk.41.1499145477393; Mon, 03 Jul 2017 22:17:57 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id 75sm34290008pfc.52.2017.07.03.22.17.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jul 2017 22:17:56 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216147 Archived-At: On Mon, 3 Jul 2017, John Wiegley wrote: >>>>>> "JH" == Jean-Christophe Helary 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 tip! Thanks. I used to go to the shell for that (less convenient): M-! git show version:path RET M-x rename-buffer blah RET