From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Date: Mon, 12 Feb 2018 10:09:39 -0500 Message-ID: <20180212150939.GA5852@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elFk8-0002PN-QN for bug-guix@gnu.org; Mon, 12 Feb 2018 10:10:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elFk3-00009p-4C for bug-guix@gnu.org; Mon, 12 Feb 2018 10:10:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elFk2-00008e-TZ for bug-guix@gnu.org; Mon, 12 Feb 2018 10:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1elFk2-0005Vk-IW for bug-guix@gnu.org; Mon, 12 Feb 2018 10:10:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20180212011641.3deb7fd6@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 30428@debbugs.gnu.org --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2018 at 01:16:41AM +0100, Danny Milosavljevic wrote: > git-fetch doesn't allow specifying "--depth 1". >=20 > That means the repo clones are needlessly large. >=20 > Since in packages we only need one specific commit anyhow why do we fetch > all the other commits? I think it's worth adding, but as an option, because there are Git server implementations, like JGit, that don't support shallow cloning. --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqBrjAACgkQJkb6MLrK fwjlMxAAlHNxpFnLYyZjbuOcsn0WGDmZ0mVlBTg5lO0dc9ej1/EgKwhIdyLLv5/U gXHcY8eostvXLk38fldhS6JfWHLToranUik3IdedhR3ExUFhyEA2d7cddbajU/sv 2jJ9MInB1TO/+gJBdR4XluLYpjZ5OhXMZqITSY0yKY0HZbRseA5yftPjmhy1fRkr c6Oz/z0UUMbr8WoLF1HSG8RRiJVmIn4+q8euN1E8sCuMWjROBAok5LRZvWA5nX7x Vom25gwFQW4ZXH8+WimDUvsdEsFUMCvwE+Hh0R9oQgwhS7yzoVGC9/a81bBnsVNp WkTBVWvFjH+Lb3HVp+q09TNXfz83SUTG3g5EzIRPLWIsfRMkMcwxhmLgOFgQFv7o /YGvgNh+7gGtftR9GovtZAFdjBPK14BAfY+f0gq394DNtEDwKi/C3C8p6D44Ypwf ezsMkVGrjKK3vTpnkt9icLPKQ79fL73nS0pdiidrHG+WCcxU3wPANcv2u8u/Jpy0 /YGPEBwcoHH9jnN8k3WWpQvtKf3SUd2hmQJ+wqL950Nwu6emBhsJf9QrPw0RoSqC m1XXbJspevhHoIPJwflW6Z924Xk2yeVFfIWPUheZZ9xIw8ECqtiA2IIRMmFegjlM xBgZJ3fsVyHgzZLq21OPFJ7GxuQV7pgw0liyf5BaJV1OV+N4i/M= =OI9Z -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--