summaryrefslogtreecommitdiffstats
path: root/tree.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-17 20:37:33 +0200
committerJunio C Hamano <gitster@pobox.com>2013-09-17 20:37:33 +0200
commitb8f23112f0415cc86eb0ec576ac7e16c7c9d78b8 (patch)
tree245a2c5f2541f4151372b323bdbbb497979a262b /tree.h
parentMerge branch 'maint' (diff)
parentclear parsed flag when we free tree buffers (diff)
downloadgit-b8f23112f0415cc86eb0ec576ac7e16c7c9d78b8.tar.xz
git-b8f23112f0415cc86eb0ec576ac7e16c7c9d78b8.zip
Merge branch 'jk/free-tree-buffer'
* jk/free-tree-buffer: clear parsed flag when we free tree buffers
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tree.h b/tree.h
index 9dc90bac38..d84ac63e51 100644
--- a/tree.h
+++ b/tree.h
@@ -16,6 +16,7 @@ struct tree *lookup_tree(const unsigned char *sha1);
int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size);
int parse_tree(struct tree *tree);
+void free_tree_buffer(struct tree *tree);
/* Parses and returns the tree in the given ent, chasing tags and commits. */
struct tree *parse_tree_indirect(const unsigned char *sha1);