Re: [rfc] git: combo-blobs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux