summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2020-12-13 09:04:25 +0100
committerJunio C Hamano <gitster@pobox.com>2020-12-13 23:18:20 +0100
commit70912f66de751b2f1af145887dc64c9c0d06de36 (patch)
tree43473ea1d368b1cc0122ddd0996611102bb3affc /tree.c
parentmerge-ort: add implementation of checkout() (diff)
downloadgit-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.c')
-rw-r--r--tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index e76517f6b1..a52479812c 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;