From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Random idea about speeding up guix pull Date: Mon, 4 Sep 2017 17:39:49 +0200 Message-ID: <6a936a81-683b-6ae3-cabc-79588a97194f@crazy-compilers.com> References: <87a82ay0c7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dotTi-00031e-91 for guix-devel@gnu.org; Mon, 04 Sep 2017 11:40:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dotTd-0006pZ-L5 for guix-devel@gnu.org; Mon, 04 Sep 2017 11:39:58 -0400 In-Reply-To: <87a82ay0c7.fsf@gnu.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: guix-devel Am 04.09.2017 um 17:01 schrieb Ludovic Court=C3=A8s: > That=E2=80=99s roughly what =E2=80=98guix pull=E2=80=99 does nowadays, = now that it uses > Guile-Git. Does it? I only found the call to `remote-fetch` in guix/git.scm, which is not passed any option to. The trick is to use `--depth=3D1` and fetch the one, expected commit, tag or branch-head. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |