Re: Unresolved issues #2 (shallow clone again)

From: Carl Worth <>
Date: 2006-05-06 01:31:05
On Fri, 5 May 2006 08:10:50 -0700 (PDT), Linus Torvalds wrote:
> Namely just have a mode to "git-send-pack" that uses the "--no-walk" flag 
> to generate the object list to send.
> What that does is to never walk the object history: so it will just use 
> the "I HAVE THESE" and "I WANT THESE" commit references to directly 
> generate the list of commits, and then walks the trees to generate the 
> list of trees/blobs that differ between the particular end-points.

Oh, I think that's a great idea. I had proposed cutting the WANT list
down to a single commit, but I wasn't clever enough to think to also
cut down the HAVE walking to solve the problems that would have been
introduced by shallow clones.

And I think the resulting behavior is quite reasonable. I think one
can argue a sort of zero-one-infinity rule here. With history, either
you don't care about any of it, or else you really should care about
all of it.


To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Received on Sat May 06 01:35:21 2006

This archive was generated by hypermail 2.1.8 : 2006-05-06 01:35:49 EST