[PATCH] Fix alloc_filespec() initialization
authorLinus Torvalds <torvalds@osdl.org>
Wed, 14 Sep 2005 20:41:24 +0000 (13:41 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 14 Sep 2005 20:57:34 +0000 (13:57 -0700)
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 <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found