Correct type for line cb
Cast GgitDiffFormatType to underlying type
Added missing include for strncpy
Added force parameter to ggit_index_read