CommitDlg: Use libgit2 for updating index