X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=tree-walk.h;h=7e3e0b5ad16710c06464726ac04d2b1c48af3708;hb=35b6ab955d2288e1c2671bde67298ed3abe32781;hp=88ea7e92981375ff0313e7cd46971b4680b3eb79;hpb=dfdb1e4150fb9c9ee86186e89987dc565bc91ead;p=thirdparty%2Fgit.git diff --git a/tree-walk.h b/tree-walk.h index 88ea7e9298..7e3e0b5ad1 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);