Code

rerere: fix too-short initialization
authorJeff King <peff@peff.net>
Thu, 28 Jan 2010 14:52:16 +0000 (09:52 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jan 2010 17:30:14 +0000 (09:30 -0800)
commitaf86debc8620006702ef217d5b7687b300c75104
treedc318ae16b294890642d4303107e3fc80a2f6f18
parent8e52dc30fc357755985306f2faae4fcfd038e0f3
rerere: fix too-short initialization

This was caused by a typo in the sizeof parameter, and meant
we looked at uninitialized memory.  Caught by valgrind in
t2030.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
rerere.c