mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 06:04:44 +00:00
Fix notes to use new fixed iterator signature
This commit is contained in:
parent
41a82592ef
commit
58ffeb9cde
@ -523,7 +523,7 @@ int git_note_foreach(
|
|||||||
if (git_tree_lookup(&tree, repo, &tree_oid) < 0)
|
if (git_tree_lookup(&tree, repo, &tree_oid) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (git_iterator_for_tree(repo, tree, &iter) < 0)
|
if (git_iterator_for_tree(&iter, repo, tree) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (git_iterator_current(iter, &item) < 0)
|
if (git_iterator_current(iter, &item) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user