aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-09 12:59:11 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-09 12:59:11 -0700
commit79517a067a293ddf19867e363f0d9237c7ef8e22 (patch)
tree989bf717d47f36c9ba4c17a5e3ce1495c34ebf43 /cache.h
parent83adac3c57ad8cd2c8d44b525414b949950e316d (diff)
downloadgit-79517a067a293ddf19867e363f0d9237c7ef8e22.tar.gz
Export "cache_name_compare()" helper function.
The "diff-tree" program needs it.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 2581117a18..8d163c0625 100644
--- a/cache.h
+++ b/cache.h
@@ -105,5 +105,6 @@ extern char *sha1_to_hex(const unsigned char *sha1); /* static buffer result! */
/* General helper functions */
extern void usage(const char *err);
+extern int cache_name_compare(const char *name1, int len1, const char *name2, int len2);
#endif /* CACHE_H */