summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-05-15 14:51:30 -0700
committerRussell Belfer <rb@github.com>2012-05-15 14:51:30 -0700
commit58ffeb9cde4091a714322157836954eb45129fad (patch)
treef9bb904e36099af9b44462b299f01ab121a8d837 /src/notes.c
parent41a82592ef56a216f96558942d717af15589071d (diff)
downloadlibgit2-58ffeb9cde4091a714322157836954eb45129fad.tar.gz
Fix notes to use new fixed iterator signature
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c
index e14ab93af..1da2ac442 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -523,7 +523,7 @@ int git_note_foreach(
if (git_tree_lookup(&tree, repo, &tree_oid) < 0)
goto cleanup;
- if (git_iterator_for_tree(repo, tree, &iter) < 0)
+ if (git_iterator_for_tree(&iter, repo, tree) < 0)
goto cleanup;
if (git_iterator_current(iter, &item) < 0)