pub fn commit_index(
git_dir: impl AsRef<Path>,
format: ObjectFormat,
options: CommitIndexOptions,
) -> Result<CommitIndexResult>pub fn commit_index(
git_dir: impl AsRef<Path>,
format: ObjectFormat,
options: CommitIndexOptions,
) -> Result<CommitIndexResult>