PKGBUILDs/extra/calligra/libgit2-1.8.patch

14 lines
709 B
Diff
Raw Normal View History

2024-05-03 12:22:02 +00:00
diff --git a/gemini/cloud/git/gitcontroller.cpp b/gemini/cloud/git/gitcontroller.cpp
index 9f65fd183a4..86473c0ea6a 100644
--- a/gemini/cloud/git/gitcontroller.cpp
+++ b/gemini/cloud/git/gitcontroller.cpp
@@ -404,7 +404,7 @@ void GitOpsThread::performPull()
git_commit_create(&commit_id, repository, "HEAD", d->signature, d->signature,
NULL, message.ptr,
- tree, 2, (const git_commit **) parents);
+ tree, 2, (git_commit * const *) parents);
git_tree_free(tree);
}
git_index_free(index);