[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(guix git-download)
From: |
ng0 |
Subject: |
(guix git-download) |
Date: |
Sun, 22 Jan 2017 19:51:34 +0000 |
Hi,
I'd like to change the git-download so that it supports
shallow-clone by default.
However I don't understand the current (guix git-download)
enough. Why is it all handled via environment variables?
I don't even see the "recursive" part in the git documentation
for environment variables.
The way it currently is, I can not easily extend the download
command to "git clone --depth 1 --shallow-submodules"
Info:
-depth <depth>
Create a shallow clone with a history truncated to the
specified number of commits. Implies --single-branch unless
--no-single-branch is given to fetch the histories near the
tips of all branches. If you want to clone submodules
shallowly, also pass --shallow-submodules.
We don't need the whole history of a git checkout (or any version
control system).
Furthermore, I'd like to add a functionality to select a
branch/tag more easily than just by commit.
--
♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/
- (guix git-download),
ng0 <=