Re: [PATCH 0/6] Yet another approach to handling empty snapshots
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 15, 2018, 16:54 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1802151753060.35@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
- In-Reply-To
- <cover.1516791909.git.mhagger@alum.mit.edu>
Hi Michael,
On Wed, 24 Jan 2018, Michael Haggerty wrote:
Show 11 quoted lines
> This patch series fixes the handling of empty packed-refs snapshots > (i.e., those with `snapshot->buf` and friends equal to `NULL`), partly > by changing `snapshot` to store a pointer to the start of the > post-header `packed-refs` content instead of `header_len`. It makes a > couple of other improvements as well. > > I'm not sure whether I like this approach better than the alternative > of always setting `snapshot->buf` to a non-NULL value, by allocating a > length-1 bit of RAM if necessary. The latter is less intrusive, though > even if that approach is taken, I think patches 01, 02, and 04 from > this patch series would be worthwhile improvements.
Thank you for Cc:ing me on this patch series. I tried to find some time to review it, I really did, but failed. As I saw that others already had a good look at it, I will just archive the mail thread.
I hope you do not mind!
Ciao, Dscho