unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* (guix git-download)
@ 2017-01-22 19:51 ng0
  2017-01-22 20:08 ` Ricardo Wurmus
  2017-01-22 23:23 ` Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: ng0 @ 2017-01-22 19:51 UTC (permalink / raw)
  To: guix-devel

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-29 22:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-22 19:51 (guix git-download) ng0
2017-01-22 20:08 ` Ricardo Wurmus
2017-01-22 23:23 ` Leo Famulari
2017-01-23 14:10   ` Ludovic Courtès
2017-01-29 22:22     ` ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).