X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tree-walk.h;h=f78361a676be002a36bed0f243217c4e0ae9c8d1;hb=d537c7492b7d16bf439ace7e31f8a9c0a7b617c3;hp=42110a465f9a8c91d1bc643dfae7a9b9c32e3719;hpb=75b44066f3ed7cde238cdea1f0bf9e2f1744c820;p=git.git diff --git a/tree-walk.h b/tree-walk.h index 42110a465..f78361a67 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);