sha1_file.c::add_packed_git(): fix type mismatch.