Re: heads-up: git-index-pack in "next" is broken
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 18, 2006, 10:00 UTC
- Message-ID
- <Pine.LNX.4.63.0610181159050.14200@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vu022gqji.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 17 Oct 2006, Junio C Hamano wrote:
Show 5 quoted lines
> +/* > + * Even if sizeof(union delta_base) == 24 on 64-bit archs, we really want > + * to memcmp() only the first 20 bytes. > + */ > +#define UNION_BASE_SZ 20
Excuse me for joining the game, but why don't you just use the recently introduced hashcmp() for that purpose? AFAIU you do exactly that, you compare hashes.
Ciao, Dscho