git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature wish: Cloning without history
@ 2006-05-18 19:21 Sven Ekman
  2006-05-18 19:35 ` Jakub Narebski
  2006-05-19  3:03 ` [PATCH] built-in tar-tree and remote tar-tree Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Sven Ekman @ 2006-05-18 19:21 UTC (permalink / raw)
  To: git

Hello,

Would it be possible to add an option to git-clone to
skip the complete history? The result should be a
repository which contains the current head only (or
maybe a specified tag) and has that commit id added to
.git/info/grafts. For the fetch process, this would
certainly have to imply the --no-tags flag.

>From a user's point of view I'd imagine something like
this:

git-clone --no-history=v2.6.16 \
    git://git.kernel.org/.../linux-2.6.git

The background: I'm regularly building kernels for a
handful of machines, and while I am happy to use the
blessings of git to get updates from the -stable
releases, I see no point in wasting space for a copy
of the complete kernel history on every single
machine. In practice this works pretty good, once I
have manually created such a castrated repository.

Sven

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

end of thread, other threads:[~2006-05-19 22:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 19:21 Feature wish: Cloning without history Sven Ekman
2006-05-18 19:35 ` Jakub Narebski
2006-05-19  3:03 ` [PATCH] built-in tar-tree and remote tar-tree Junio C Hamano
2006-05-19  5:50   ` Junio C Hamano
2006-05-19 21:43     ` Sven Ekman
2006-05-19 21:56       ` Jakub Narebski
2006-05-19 22:56       ` Junio C Hamano

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 NNTP newsgroup(s).