X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tree-walk.h;h=7e3e0b5ad16710c06464726ac04d2b1c48af3708;hb=351fa1dc9fac3fc88895f30e6ef59e09ceb68bef;hp=88ea7e92981375ff0313e7cd46971b4680b3eb79;hpb=c3b9325fa699dfa2562ac3748d14f082646979c2;p=git.git diff --git a/tree-walk.h b/tree-walk.h index 88ea7e929..7e3e0b5ad 100644 --- a/tree-walk.h +++ b/tree-walk.h @@ -28,7 +28,10 @@ static inline int tree_entry_len(const char *name, const unsigned char *sha1) void update_tree_entry(struct tree_desc *); void init_tree_desc(struct tree_desc *desc, const void *buf, unsigned long size); -/* Helper function that does both of the above and returns true for success */ +/* + * Helper function that does both tree_entry_extract() and update_tree_entry() + * and returns true for success + */ int tree_entry(struct tree_desc *, struct name_entry *); void *fill_tree_descriptor(struct tree_desc *desc, const unsigned char *sha1);