Hi, On Fri, 7 Feb 2020 at 22:44, Ludovic Courtès <l...@gnu.org> wrote:
> Marius Bakke <mba...@fastmail.com> skribis: > > I wonder if it's feasible to use Guile-Git to generate the patches > > instead, at the expense of having to download the entire repository > > for the purpose of extracting one or more (substitutable) patches. > > Good question. We could have a lowerable <git-commit> data type that > would (1) clone the repo, and (2) dump the raw (?) commit to #$output. > It’s happening on the build side, like ‘git-fetch’, so it could use Git > directly, which supports shallow clones. I do not know if it makes sense but Git provides now a (experimental) partial download/clone. https://git-scm.com/docs/partial-clone All the best, simon