Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use

From: Leo Famulari <[email-masked]>
Date: Mon, 12 Feb 2018 10:09:39 -0500

On Mon, Feb 12, 2018 at 01:16:41AM +0100, Danny Milosavljevic wrote:
> git-fetch doesn't allow specifying "--depth 1".
> 
> That means the repo clones are needlessly large.
> 
> 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.