From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [RFE] Migration to gitlab Date: Fri, 22 Mar 2019 10:29:40 -0400 Message-ID: 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="115284"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 22 15:45:47 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 1h7LQY-000Tr6-Jw for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2019 15:45:46 +0100 Original-Received: from localhost ([127.0.0.1]:58441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7LQX-0003Pb-F4 for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2019 10:45:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7LOc-0000qa-E6 for emacs-devel@gnu.org; Fri, 22 Mar 2019 10:43:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7LB5-0001pS-Pe for emacs-devel@gnu.org; Fri, 22 Mar 2019 10:29:48 -0400 Original-Received: from [195.159.176.226] (port=47174 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h7LB5-0001mp-Bg for emacs-devel@gnu.org; Fri, 22 Mar 2019 10:29:47 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1h7LB3-000Ac7-VC for emacs-devel@gnu.org; Fri, 22 Mar 2019 15:29:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:6XkNrysXaIS67n6VgVOnHeH9RlY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:234578 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 Ah FETCH_HEAD sounds like the solution to avoid having to `git remote add`. Cool, thanks! So, yes, this sounds like a nice alternative that avoids the need to have write access to emacs.git. Stefan