diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-16 09:57:45 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-16 09:57:45 -0700 |
commit | c261c272af7fa26af36bca71e56b0342631b3eea (patch) | |
tree | 4b4e6efe8871844b40c8c4ec82321ada515f594d /src/notes.c | |
parent | b206d74ccaca2bca33e5db85fb6c1e4b8fc54541 (diff) | |
parent | 2c8339172878cd935eee0d9eb6db747cebd70a72 (diff) | |
download | libgit2-c261c272af7fa26af36bca71e56b0342631b3eea.tar.gz |
Merge pull request #702 from arrbee/fix-status-file
Update git_status_file and add ranged iterators
Diffstat (limited to 'src/notes.c')
-rw-r--r-- | src/notes.c | 2 |
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) |