author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Mon, 18 Feb 2008 20:48:02 +0000 (21:48 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 19 Feb 2008 03:25:26 +0000 (19:25 -0800) | ||
commit | 9786f68bfcc082778aee74159540e341bb239514 | |
tree | d2a1d81c7d446a8199ca07d08fce9963270375f6 | tree | snapshot |
parent | 9684afd967f61047bbf1b3a8039adf7d41916b31 | commit | diff |
parse_commit: don't fail, if object is NULL
Some codepaths (eg. builtin-rev-parse -> get_merge_bases -> parse_commit)
can pass NULL.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Some codepaths (eg. builtin-rev-parse -> get_merge_bases -> parse_commit)
can pass NULL.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c | diff | blob | history |