From: Linus Torvalds Date: Wed, 16 Jan 2008 00:12:33 +0000 (-0800) Subject: Make builtin-commit.c more careful about parenthood X-Git-Tag: v1.5.4-rc4~31 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7c3fd25dcf2a23ed43bae2ba23a46edab4644a9f?ds=inline;hp=7c3fd25dcf2a23ed43bae2ba23a46edab4644a9f Make builtin-commit.c more careful about parenthood When creating the commit object, be a whole lot more careful about making sure that the parent lines really are valid parent lines. Check things like MERGE_HEAD having proper SHA1 lines in it, and double-check that all the parents exist and are actually commits. Signed-off-by: Linus Torvalds Signed-off-by: Junio C Hamano ---