Re: [PATCH 11/16] rev-list: add bitmap mode to speed up lists
- From
Jeff King <peff@peff.net>
- Date
- Jun 26, 2013, 05:22 UTC
- Message-ID
- <20130626052226.GC26755@sigill.intra.peff.net>
- In-Reply-To
- <87mwqdlvsq.fsf@linux-k42r.v.cablecom.net>
On Tue, Jun 25, 2013 at 09:22:28AM -0700, Thomas Rast wrote:
Show 9 quoted lines
> Vicent Marti <tanoku@gmail.com> writes: > > > Calling `git rev-list --use-bitmaps [committish]` is the equivalent > > of `git rev-list --objects`, but the rev list is performed based on > > a bitmap result instead of using a manual counting objects phase. > > Why would we ever want to not --use-bitmaps, once it actually works? > I.e., shouldn't this be the default if pack.usebitmaps is set (or > possibly even core.usebitmaps for these things)?
If you are using bitmaps, you cannot produce the same output as "--objects"; the latter prints the path at which each object is found. In the JGit bitmap format, we have no information at all; in Vicent's "v2", we have only a hash of that pathname.
-Peff