diff options
author | Elijah Newren <newren@gmail.com> | 2020-12-13 09:04:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-13 23:18:20 +0100 |
commit | 70912f66de751b2f1af145887dc64c9c0d06de36 (patch) | |
tree | 43473ea1d368b1cc0122ddd0996611102bb3affc /tree.h | |
parent | merge-ort: add implementation of checkout() (diff) | |
download | git-70912f66de751b2f1af145887dc64c9c0d06de36.tar.xz git-70912f66de751b2f1af145887dc64c9c0d06de36.zip |
tree: enable cmp_cache_name_compare() to be used elsewhere
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.h')
-rw-r--r-- | tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,8 @@ void free_tree_buffer(struct tree *tree); /* Parses and returns the tree in the given ent, chasing tags and commits. */ struct tree *parse_tree_indirect(const struct object_id *oid); +int cmp_cache_name_compare(const void *a_, const void *b_); + #define READ_TREE_RECURSIVE 1 typedef int (*read_tree_fn_t)(const struct object_id *, struct strbuf *, const char *, unsigned int, int, void *); |