diff options
author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | 2008-02-18 20:48:02 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-19 03:25:26 (GMT) |
commit | 9786f68bfcc082778aee74159540e341bb239514 (patch) | |
tree | d2a1d81c7d446a8199ca07d08fce9963270375f6 /shallow.c | |
parent | 9684afd967f61047bbf1b3a8039adf7d41916b31 (diff) | |
download | git-9786f68bfcc082778aee74159540e341bb239514.zip git-9786f68bfcc082778aee74159540e341bb239514.tar.gz git-9786f68bfcc082778aee74159540e341bb239514.tar.bz2 |
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>
Diffstat (limited to 'shallow.c')
0 files changed, 0 insertions, 0 deletions