git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Would it make sense to add `--depth=0` feature?
@ 2017-08-11 23:23 ankostis
  2017-08-12  9:23 ` Philip Oakley
  0 siblings, 1 reply; 2+ messages in thread
From: ankostis @ 2017-08-11 23:23 UTC (permalink / raw)
  To: Git Mailing List

Would it be feasible/sensical to support clone/fetch with --depth=0?
The point is to download the tags/commit objects but not the actual
trees and blobs,
creating a "ledger" acting as a promise for the remote'e repo content?

Is there some estimation of the effort required to do such thing?

Best,
  Kostis

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

* Re: Would it make sense to add `--depth=0` feature?
  2017-08-11 23:23 Would it make sense to add `--depth=0` feature? ankostis
@ 2017-08-12  9:23 ` Philip Oakley
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Oakley @ 2017-08-12  9:23 UTC (permalink / raw)
  To: ankostis, Git Mailing List

From: "ankostis" <ankostis@gmail.com>
> Would it be feasible/sensical to support clone/fetch with --depth=0?
> The point is to download the tags/commit objects but not the actual
> trees and blobs,
> creating a "ledger" acting as a promise for the remote'e repo content?
>
> Is there some estimation of the effort required to do such thing?
>
> Best,
>  Kostis

I think that the desire is reasonable, but that it doesn't match the shallow 
clone idea. I think you are asking for a 'Narrow' clone where there is some 
form of exclusion of the blobs and trees that attach to the commit objects 
(at the various depths of commit graph walking).

There is some work on-going at the moment for various types of sparse 
download (look for "lazy objects" and "partial clone" on the list archive 
https://public-inbox.org/git/?q=) to see if you can help with ensuring that 
the methods will be useful to you.
(I'm interested too!)
--
Philip 


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

end of thread, other threads:[~2017-08-12  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-11 23:23 Would it make sense to add `--depth=0` feature? ankostis
2017-08-12  9:23 ` Philip Oakley

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

	https://80x24.org/mirrors/git.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).