Re: [rfc] git: combo-blobs

Linus Torvalds
2005-04-11T18:29:01Z

On Mon, 11 Apr 2005, Chris Wedgwood wrote:
>
> On Mon, Apr 11, 2005 at 09:01:51AM -0700, Linus Torvalds wrote:
>
> > I disagree. Yes, the thing is designed to be replicated, so most of
> > the time the easiest thing to do is to just rsync with another copy.
>
> It's not clear how any of this is going to give me something like
>
> bk changes -R
>
> or
> bk changes -L
>
> functionality.

You'd dowload all the sha1 objects (they don't actually do anything to
_your_ state - they only show the possible other states), and then it's a
"simple thing" to generate a full tree of your local HEAD commit and
compare it to a full tree of the remove HEAD commit.

If you then want to merge, you already have all the data. If you don't,
you can then prune your object tree from the stuff you don't use (fsck
already effectively does all the connectivity work, it just never removes
unreferenced files).

Linus