Cleanup libgit init calls

This commit is contained in:
Seth Hillbrand
2024-05-06 10:18:38 -07:00
parent ba5ad70b68
commit 8a306eecb6
8 changed files with 31 additions and 17 deletions
+2 -1
View File
@@ -252,7 +252,8 @@ std::pair<std::set<wxString>,std::set<wxString>> KIGIT_COMMON::GetDifferentFiles
git_diff* diff;
git_diff_options diff_opts = GIT_DIFF_OPTIONS_INIT;
git_diff_options diff_opts;
git_diff_init_options( &diff_opts, GIT_DIFF_OPTIONS_VERSION );
if( git_diff_tree_to_tree( &diff, m_repo, parent_tree, tree, &diff_opts ) == GIT_OK )
{