Added files in diff_stats table has /dev/null in the old path column but it should be null instead.
Also, if a file was deleted, the diff_stats.object_id column has an id with only zeros but it should point to the old file contents (from the previous commit).