From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Merge-base alias for git vc-diff Date: Sun, 06 Jan 2019 00:28:00 +0200 Organization: LINKOV.NET Message-ID: <87tvimbu1l.fsf@mail.linkov.net> References: <87bm58ornb.fsf@mail.linkov.net> <92f058a4-ef98-725b-9603-5a671113dfaa@yandex.ru> <87lg4aak10.fsf@mail.linkov.net> <87o98zapae.fsf@mail.linkov.net> <7e8020d6-92df-a475-cbd7-98f42676a99b@yandex.ru> <877efl8pgj.fsf@mail.linkov.net> <871s5t1knu.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546729053 23871 195.159.176.226 (5 Jan 2019 22:57:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2019 22:57:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel , Stefan Monnier , Dmitry Gutov To: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 23:57:29 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from listsout.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfusi-00064f-2H for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2019 23:57:28 +0100 Original-Received: from localhost ([127.0.0.1]:38971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfuuo-00061T-EH for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2019 17:59:38 -0500 Original-Received: from eggsout.gnu.org ([209.51.188.92]:54076 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfuui-00061M-5a for emacs-devel@gnu.org; Sat, 05 Jan 2019 17:59:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfuue-0003qm-0r for emacs-devel@gnu.org; Sat, 05 Jan 2019 17:59:31 -0500 Original-Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:34984) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfuuc-0003oW-5Q for emacs-devel@gnu.org; Sat, 05 Jan 2019 17:59:27 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2E8AD123CAB; Sat, 5 Jan 2019 22:59:24 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a35.g.dreamhost.com (unknown [100.96.11.179]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E13B1123D20; Sat, 5 Jan 2019 22:59:23 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a35.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sat, 05 Jan 2019 22:59:24 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Little-Shade: 69b0dd3a75683158_1546729164033_2670091907 X-MC-Loop-Signature: 1546729164033:643762171 X-MC-Ingress-Time: 1546729164033 Original-Received: from pdx1-sub0-mail-a35.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a35.g.dreamhost.com (Postfix) with ESMTP id 9EAEE811B1; Sat, 5 Jan 2019 14:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=v0MPm0 efRvSfaFFYRaaUXJYaa+Y=; b=KK4P9Ev269hwkGkEjo2dZAEgTQdqxCJqOtSO5n MuMMQu9gfC/vl/cTfjDGvqE/6W/F7+nhJHK2ONzfSJRR/Sg9GszJP72Cl+wG+SvQ PGEggiFI6inNkZ5gl0zUNH1sGRmNrfPvzcxqpU+cvOgGFSE8n0HshCzAn0GDpTuk NCIU8= Original-Received: from mail.jurta.org (m91-129-109-141.cust.tele2.ee [91.129.109.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 099D57F5B7; Sat, 5 Jan 2019 14:59:19 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a35 In-Reply-To: <871s5t1knu.fsf@gmail.com> (=?iso-8859-1?Q?=22Jo=E3o_T=E1vora?= =?iso-8859-1?Q?=22's?= message of "Thu, 03 Jan 2019 21:44:05 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrvdeggddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucffohhmrghinhepshhtrggtkhhovhgvrhhflhhofidrtghomhenucfkphepledurdduvdelrddutdelrddugedunecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtledrudeguddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehjohgrohhtrghvohhrrgesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.93 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:232203 Archived-At: >> The only problem is that then we have to use different amount of dots >> for vc-root-diff and vc-print-root-log because in git: =E2=80=98git di= ff >> A...B=E2=80=99 corresponds to =E2=80=98git log A..B=E2=80=99 whereas =E2= =80=98git diff A..B=E2=80=99 >> corresponds to =E2=80=98git log A...B=E2=80=99 > > Really? Ugh, that unfortunate. Well we could just live with it or use > different symbols to abstract it away. Another question is whether to use the same Git syntax for other dVCSes? It seems that finding a common ancestor is a common task among them: https://stackoverflow.com/questions/6743068/merge-base-analog-for-mercuri= al-and-bzr-to-find-common-ancestors-as-possible-fo