summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2020-12-13 08:04:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-12-13 22:18:20 (GMT)
commit70912f66de751b2f1af145887dc64c9c0d06de36 (patch)
tree43473ea1d368b1cc0122ddd0996611102bb3affc /tree.c
parent6681ce5cf6a869aa73cfe56d041dce133262587a (diff)
downloadgit-70912f66de751b2f1af145887dc64c9c0d06de36.zip
git-70912f66de751b2f1af145887dc64c9c0d06de36.tar.gz
git-70912f66de751b2f1af145887dc64c9c0d06de36.tar.bz2
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.c')
-rw-r--r--tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index e76517f..a524798 100644
--- a/tree.c
+++ b/tree.c
@@ -144,7 +144,7 @@ int read_tree_recursive(struct repository *r,
return ret;
}
-static int cmp_cache_name_compare(const void *a_, const void *b_)
+int cmp_cache_name_compare(const void *a_, const void *b_)
{
const struct cache_entry *ce1, *ce2;