diff options
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4575,7 +4575,7 @@ sub tainted_objects_precheck ($$) { my $objid = $row->{gitobjid}; my ($gtype, $dummy) = git_cat_file $objid, undef; next if $gtype eq 'missing'; - if ($gtype ne $row->{gitobjtype}) { + if ($row->{gitobjtype} and $gtype ne $row->{gitobjtype}) { print STDERR f_ <<'END', $objid, $gtype, $row->{gitobjtype}; warning: server says object %s type %s is tainted, but here it has type %s END |