Re: [PATCH 12/12] index-pack: resolve v4 one-base trees

2013-09-07 Thread Duy Nguyen
On Sun, Sep 8, 2013 at 10:28 AM, Nicolas Pitre wrote: >> @@ -794,6 +799,83 @@ static void *unpack_raw_entry(struct object_entry *obj, >> return data; >> } >> >> +static void *patch_one_base_tree(const struct object_entry *src, >> + const unsigned char *src_buf,

Re: [PATCH 12/12] index-pack: resolve v4 one-base trees

2013-09-07 Thread Nicolas Pitre
On Sat, 7 Sep 2013, Nguyễn Thái Ngọc Duy wrote: > This is the most common case for delta trees. In fact it's the only > kind that's produced by packv4-create. It fits well in the way > index-pack resolves deltas and benefits from threading (the set of > objects depending on this base does not over

[PATCH 12/12] index-pack: resolve v4 one-base trees

2013-09-07 Thread Nguyễn Thái Ngọc Duy
This is the most common case for delta trees. In fact it's the only kind that's produced by packv4-create. It fits well in the way index-pack resolves deltas and benefits from threading (the set of objects depending on this base does not overlap with the set of objects depending on another base) M