From 58ffeb9cde4091a714322157836954eb45129fad Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Tue, 15 May 2012 14:51:30 -0700 Subject: [PATCH] Fix notes to use new fixed iterator signature --- src/notes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)