summaryrefslogtreecommitdiff
path: root/tree-walk.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-19 21:05:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-19 21:05:47 (GMT)
commit4dcff634e6294bcd7a40c8a51762b675b35be237 (patch)
tree0853dc82106df810ff14918bd1348903143858c0 /tree-walk.h
parentf3ab49db1b88b753fc628d7b241f20f73950e162 (diff)
downloadgit-4dcff634e6294bcd7a40c8a51762b675b35be237.zip
git-4dcff634e6294bcd7a40c8a51762b675b35be237.tar.gz
git-4dcff634e6294bcd7a40c8a51762b675b35be237.tar.bz2
get_tree_entry(): make it available from tree-walk
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tree-walk.h')
-rw-r--r--tree-walk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tree-walk.h b/tree-walk.h
index 76893e3..47438fe 100644
--- a/tree-walk.h
+++ b/tree-walk.h
@@ -22,4 +22,6 @@ typedef void (*traverse_callback_t)(int n, unsigned long mask, struct name_entry
void traverse_trees(int n, struct tree_desc *t, const char *base, traverse_callback_t callback);
+int get_tree_entry(const unsigned char *, const char *, unsigned char *, unsigned *);
+
#endif