summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1fda91b)
raw | patch | inline | side by side (parent: 1fda91b)
author | Elijah Newren <newren@gmail.com> | |
Wed, 25 Aug 2010 02:53:11 +0000 (20:53 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Aug 2010 23:31:21 +0000 (16:31 -0700) |
There was a code comment that referred to the "above two functions" but
over time the functions immediately preceding the comment have changed.
Just mention the relevant functions by name.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
over time the functions immediately preceding the comment have changed.
Just mention the relevant functions by name.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree-walk.h | patch | blob | history |
diff --git a/tree-walk.h b/tree-walk.h
index 42110a465f9a8c91d1bc643dfae7a9b9c32e3719..f78361a676be002a36bed0f243217c4e0ae9c8d1 100644 (file)
--- a/tree-walk.h
+++ b/tree-walk.h
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);