From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [RFE] Migration to gitlab Date: Sat, 23 Mar 2019 23:58:59 +0200 Organization: LINKOV.NET Message-ID: <87o961ckws.fsf@mail.linkov.net> References: <1552789070.5272.1@yandex.ru> <1552791707.5272.2@yandex.ru> <1552793646.5272.3@yandex.ru> <1552821396.21432.0@yandex.ru> <83imwhwf4x.fsf@gnu.org> <837ecvux2q.fsf@gnu.org> <9c7cf558-a2d3-951e-d6e1-31b3ad5900cf@yandex.ru> <1553064994.13109.0@yandex.ru> <831s32t3fn.fsf@gnu.org> <87mulnxkik.fsf@mbork.pl> <83bm23rqua.fsf@gnu.org> <87sgvf9ejr.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="241715"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Monnier , emacs-devel@gnu.org To: Teemu Likonen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 23 23:52:24 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7pV2-0010ld-0L for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2019 23:52:24 +0100 Original-Received: from localhost ([127.0.0.1]:49068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7pV0-0003OZ-NJ for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2019 18:52:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7pTU-0003B0-Ln for emacs-devel@gnu.org; Sat, 23 Mar 2019 18:50:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7pTT-0008Ja-Lq for emacs-devel@gnu.org; Sat, 23 Mar 2019 18:50:48 -0400 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:53628) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h7pTT-0008II-Bc for emacs-devel@gnu.org; Sat, 23 Mar 2019 18:50:47 -0400 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 63AC85C4052; Sat, 23 Mar 2019 22:50:45 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a29.g.dreamhost.com (unknown [100.96.11.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D9DC15C4867; Sat, 23 Mar 2019 22:50:44 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a29.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.17.2); Sat, 23 Mar 2019 22:50:45 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Reign-Coil: 2a5db6c012d30d3e_1553381445106_399228381 X-MC-Loop-Signature: 1553381445106:2388520184 X-MC-Ingress-Time: 1553381445106 Original-Received: from pdx1-sub0-mail-a29.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTP id 602E280224; Sat, 23 Mar 2019 15:50:44 -0700 (PDT) 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; s=linkov.net; bh=sbysEMZzFxVbeLQXeOSRwqWJoXM=; b= gIvE/DzoDWYwcxtSBwQlK6uldAuYlY4DzGZAQq7jMsZKhfRBk9jn+mRmrBim98fH P7GBf6hbi5NQeIZLuaisstjSN84Dj3z5p5BE6xR3HfWLzUQxCtzjOr6o1yUyuwJf RSppPCdWue96n9jiRKnY61Z5vmMwsOYcIOqAb+ZqXKg= Original-Received: from mail.jurta.org (m91-129-108-250.cust.tele2.ee [91.129.108.250]) (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-a29.g.dreamhost.com (Postfix) with ESMTPSA id 36851802B6; Sat, 23 Mar 2019 15:50:37 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a29 In-Reply-To: <87sgvf9ejr.fsf@iki.fi> (Teemu Likonen's message of "Fri, 22 Mar 2019 16:20:08 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrjeeggddtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtkedrvdehtdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrddvhedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepthhlihhkohhnvghnsehikhhirdhfihenucevlhhushhtvghrufhiiigvpedu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.214.32 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:234667 Archived-At: >> But we could accept people sending an email with a URL to a branch in >> their own repository. I'm not sure how conveniently Git handles that >> (ideally, I'd like to be able to do something like "git diff URL"), but >> we could in any case add a VC command to do that. > > "git pull" is actually "git fetch" + "git merge" so to check a remote > repository one would do "git fetch https://...". Then useful comands > would be > > git diff master...FETCH_HEAD # from branches' common base to FETCH_HEAD > git diff master FETCH_HEAD # between the brances > git log -p master..FETCH_HEAD # log+patches from the common base to FETCH_HEAD In bug#33950 we are creating a vc command for this, but the problem is in Git inconsistency: it uses 3 dots for diff, and 2 dots for log. > If FETCH_HEAD from a remote url is not merged or turned into a named > branch the new git objects will eventually be garbage collected. I didn't know about FETCH_HEAD because vc-git doesn't show it in the completion list that contains only HEAD. Maybe FETCH_HEAD should be added to vc-git-revision-table as well? What other useful ref names are provided by git?