From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: What's cooking in git.git (Nov 2013, #05; Thu, 21)
Date: Fri, 22 Nov 2013 05:23:45 -0500 [thread overview]
Message-ID: <20131122102345.GC12042@sigill.intra.peff.net> (raw)
In-Reply-To: <xmqqtxf51e5c.fsf@gitster.dls.corp.google.com>
On Thu, Nov 21, 2013 at 04:19:43PM -0800, Junio C Hamano wrote:
> * np/pack-v4 (2013-09-18) 90 commits
> . packv4-parse.c: add tree offset caching
> . t1050: replace one instance of show-index with verify-pack
> . index-pack, pack-objects: allow creating .idx v2 with .pack v4
> . unpack-objects: decode v4 trees
> . unpack-objects: allow to save processed bytes to a buffer
> - ...
>
> Nico and Duy advancing the eternal vaporware pack-v4. This is here
> primarily for wider distribution of the preview edition.
>
> Temporarily ejected from 'pu', to try out jk/pack-bitmap, which
> this topic conflicts with.
I had a look at the conflicts. Textually, I do not think it is anything
too serious; it is mostly a case of adding unrelated lines in the same
spot. I am happy to help with resolving that if there is a need.
However, there may be semantic conflicts. The big one I can think of is
how packfile reuse interacts with various versions. We only do pack
reuse during a --stdout pack to a client. At this point, that means we
must be outputting packv2. If we have packv2 on disk, we are fine. If we
have packv4 on disk, I guess we simply need to disable reuse, which
should not be hard.
Once we start sending packv4 to clients, we'll have to reevaluate.
Probably we can just get away with turning off reuse when there is a
mismatch, though if my understanding of packv4 is correct, we could
still reuse packv2 entries. We can put that off until somebody works on
packv4-on-the-wire, though. :)
> * jk/pack-bitmap (2013-11-18) 22 commits
> - compat/mingw.h: Fix the MinGW and msvc builds
> - pack-bitmap: implement optional name_hash cache
> - t/perf: add tests for pack bitmaps
> - t: add basic bitmap functionality tests
> - count-objects: recognize .bitmap in garbage-checking
> - repack: consider bitmaps when performing repacks
> - repack: handle optional files created by pack-objects
> - repack: turn exts array into array-of-struct
> - repack: stop using magic number for ARRAY_SIZE(exts)
> - pack-objects: implement bitmap writing
> - rev-list: add bitmap mode to speed up object lists
> - pack-objects: use bitmaps when packing objects
> - pack-bitmap: add support for bitmap indexes
> - documentation: add documentation for the bitmap format
> - ewah: compressed bitmap implementation
> - compat: add endianness helpers
> - sha1_file: export `git_open_noatime`
> - revision: allow setting custom limiter function
> - pack-objects: factor out name_hash
> - pack-objects: refactor the packing list
> - revindex: export new APIs
> - sha1write: make buffer const-correct
>
> Borrows the bitmap index into packfiles from JGit to speed up
> enumeration of objects involved in a commit range without having to
> fully traverse the history.
Looks like you picked up my latest re-roll with Ramsay's fix on top.
There wasn't a lot of review on this past round (I'm not surprised; it's
a dauntingly large chunk to review). I outlined a few possible open
issues in the cover letter, but I'd be happy to build those on top,
which I think will make review of them a lot easier.
Do we want to try this in 'next' post-1.8.5, or should I try to prod an
area expert like Shawn into doing another round of review?
-Peff
next prev parent reply other threads:[~2013-11-22 10:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-22 0:19 What's cooking in git.git (Nov 2013, #05; Thu, 21) Junio C Hamano
2013-11-22 10:23 ` Jeff King [this message]
2013-11-22 16:52 ` Thomas Rast
2013-11-22 17:26 ` Jeff King
2013-11-22 17:58 ` Thomas Rast
2013-11-22 22:36 ` Jeff King
2013-11-22 23:04 ` Thomas Rast
2013-11-22 19:40 ` Vicent Marti
2013-11-22 20:16 ` Thomas Rast
2013-11-22 19:36 ` Junio C Hamano
2013-11-22 19:47 ` Vicent Martí
2013-11-22 20:05 ` Junio C Hamano
2013-11-22 22:32 ` Jeff King
2013-11-23 11:25 ` Antoine Pelisse
2013-11-25 16:17 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131122102345.GC12042@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).