From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Equivalent of "bzr diff -rancestor:" Date: Mon, 17 Nov 2014 09:45:58 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416235596 4588 80.91.229.3 (17 Nov 2014 14:46:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 14:46:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 15:46:29 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqNZU-00051Q-33 for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 15:46:28 +0100 Original-Received: from localhost ([::1]:48230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNZT-0001Ey-Ox for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 09:46:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNZ9-0001Ec-TE for emacs-devel@gnu.org; Mon, 17 Nov 2014 09:46:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqNZ2-0004W5-Dx for emacs-devel@gnu.org; Mon, 17 Nov 2014 09:46:07 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNZ2-0004Vp-B4 for emacs-devel@gnu.org; Mon, 17 Nov 2014 09:46:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtAIAGA2ZVSnWBqE/2dsb2JhbABbgw4BimHDNIdYBIEgFwEBAQEBAXyEX3ImGA2IeKsbphWRMYQ1BYwLqQ2BRwELAYJGH4J7AQEB X-IPAS-Result: AtAIAGA2ZVSnWBqE/2dsb2JhbABbgw4BimHDNIdYBIEgFwEBAQEBAXyEX3ImGA2IeKsbphWRMYQ1BYwLqQ2BRwELAYJGH4J7AQEB X-IronPort-AV: E=Sophos;i="5.07,380,1413259200"; d="scan'208";a="97185137" Original-Received: from 167-88-26-132.cpe.teksavvy.com (HELO pastel.home) ([167.88.26.132]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Nov 2014 09:45:59 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id ECC888548; Mon, 17 Nov 2014 09:45:58 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177412 Archived-At: I can't seem to figure out how to do the above. Say, I'm on local branch "foo" which tracks a remote branch "foo", and I'd like to see what are the changes on this branch foo compared to "master". In Bazaar, I'd do something like "bzr diff -r ancestor:" but I can't find any equivalent in "man gitrevisions". The best I can come up with is to arrange for "foo" to be uptodate with respect to "master", and then I can just do "git diff ", but sometimes it's inconvenient/impractical to be "uptodate". Stefan