[PATCH 24/32] split-index: strip pathname of on-disk replaced entries

2014-06-13 Thread Nguyễn Thái Ngọc Duy
We know the positions of replaced entries via the replace bitmap in link extension, so the name path does not have to be stored (it's still in the shared index). With this, we also have a way to distinguish additions vs replacements at load time and can catch broken link extensions.

Re: [PATCH 24/32] split-index: strip pathname of on-disk replaced entries

2014-04-29 Thread Junio C Hamano
This triggers saved_namelen may be used uninitialized for me, even though it looks clear that it is used under CE_STRIP_NAME and it is assigned under that condition. Sigh to a stupid compiler... -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to

[PATCH 24/32] split-index: strip pathname of on-disk replaced entries

2014-04-28 Thread Nguyễn Thái Ngọc Duy
We know the positions of replaced entries via the replace bitmap in link extension, so the name path does not have to be stored (it's still in the shared index). With this, we also have a way to distinguish additions vs replacements at load time and can catch broken link extensions.