summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-07-10 21:45:16 -0700
committerRussell Belfer <rb@github.com>2012-07-10 21:45:16 -0700
commit4d3a7b7846bd2091c37f82ed78ccafb749ee8492 (patch)
tree5129a8f7624752371cde23722f38586b406181a8 /src/notes.c
parent19017a24e3fccfb82a77e5a4ac40ddc6481c94fd (diff)
parent46ea40d9955a171187d252872f5c9bac1da7e286 (diff)
downloadlibgit2-4d3a7b7846bd2091c37f82ed78ccafb749ee8492.tar.gz
Merge pull request #793 from libgit2/tree-entry-by-path
Bring back `entry_bypath`
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 0dfd3f891..7813e9985 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -97,7 +97,7 @@ static int tree_write(
{
int error;
git_treebuilder *tb = NULL;
- git_tree_entry *entry;
+ const git_tree_entry *entry;
git_oid tree_oid;
if ((error = git_treebuilder_create(&tb, source_tree)) < 0)