Add a library function to add an alternate to the alternates file
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 396eabf6ed02214f2c9f9e83c06c19aa7b7626e4..9da9179afd035cf4cc5ae403344d872950d6d3b3 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -599,6 +599,7 @@ extern struct alternate_object_database {
        char base[FLEX_ARRAY]; /* more */
 } *alt_odb_list;
 extern void prepare_alt_odb(void);
+extern void add_to_alternates_file(const char *reference);
 
 struct pack_window {
        struct pack_window *next;