author | Linus Torvalds <torvalds@linux-foundation.org> | |
Wed, 16 Jan 2008 00:12:33 +0000 (16:12 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 16 Jan 2008 19:37:34 +0000 (11:37 -0800) | ||
commit | 7c3fd25dcf2a23ed43bae2ba23a46edab4644a9f | |
tree | 83fbd40987bbdc42e8f4facd6ec8dd1649094060 | tree | snapshot |
parent | 28624193b2ce622144136d373e136455b6b13967 | commit | diff |
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 <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | diff | blob | history |