Add "git_path()" and "head_ref()" helper functions.
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index c79c70f713b16975c0622eb69d4a172cc73307ba..c84e797fdb4f6988a6a8a3294ee6de5d11951276 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -158,6 +158,7 @@ extern void rollback_index_file(struct cache_file *);
 #define TYPE_CHANGED    0x0040
 
 /* Return a statically allocated filename matching the sha1 signature */
+extern char *git_path(const char *fmt, ...);
 extern char *sha1_file_name(const unsigned char *sha1);
 
 /* Read and unpack a sha1 file into memory, write memory to a sha1 file */