summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-06-29 02:21:12 +0200
committerVicent Marti <tanoku@gmail.com>2012-06-29 02:21:12 +0200
commit0e2fcca850e3021da4a08bc6487a10b35a75d05b (patch)
treebfed58248da88438c95ebe437fb503822c1ce0d5 /src/notes.c
parentcbc02c1021ab99903d9e0a616137048d33df5f26 (diff)
downloadlibgit2-0e2fcca850e3021da4a08bc6487a10b35a75d05b.tar.gz
tree: Bring back `entry_bypath`
Smaller, simpler, faster.
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)