Re: Does GIT has vc keywords like CVS/Subversion?
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Oct 9, 2006, 22:57 UTC
- Message-ID
- <46a038f90610091557l2dcfb7bbn7fe2c512af7c4f3c@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.63.0610100045430.14200@wbgn013.biozentrum.uni-wuerzburg.de>
On 10/10/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> If you have the path, you can reuse the whole algorithm for finding > the best delta base.
Can I do that from Perl/bash? (how?)
> However, if you do not have the path, you might as well just give up (if > there is no perfect match for the SHA1), since the SHA1 is _not_ similar > for similar contents. IOW, you'd literally have to search _all_ objects in > the repository, which usually takes a long, long time.
So the delta base algorithm doesn't work without a path. I thought we had a quick way to find blobs of similar size. If the user can't even give us a filename (that we can use to try and build a likely path) then they have bigger problems than the delta ;-) -- at some point we have to provide git-paddedcell for the remaining <ahem> users.
cheers,
maritn