parse_commit: don't fail, if object is NULL · wolfpython/git@9786f68 · GitHub
Skip to content

Commit 9786f68

Browse files
Martin Koeglergitster
authored andcommitted
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>
1 parent 9684afd commit 9786f68

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

commit.c

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)