From: Linus Torvalds Date: Wed, 14 Sep 2005 20:41:24 +0000 (-0700) Subject: [PATCH] Fix alloc_filespec() initialization X-Git-Tag: v0.99.7~43 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/705a7148ba1bb9597b1837b7f64a0dcb67f1ad0c?hp=705a7148ba1bb9597b1837b7f64a0dcb67f1ad0c [PATCH] Fix alloc_filespec() initialization This simplifies and fixes the initialization of a "diff_filespec" when allocated. The old code would not initialize "sha1_valid". Noticed by valgrind. Signed-off-by: Linus Torvalds Signed-off-by: Junio C Hamano ---