pub fn force_write_index( git_dir: impl AsRef<Path>, format: ObjectFormat, ) -> Result<UpdateIndexResult>