From 95fc75129acf14d980bdd56b9b2ee74190f81d91 Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Mon, 6 Jun 2005 16:31:29 -0400 Subject: [PATCH] Operations on refs This patch adds code to read a hash out of a specified file under {GIT_DIR}/refs/, and to write such files atomically and optionally with an compare and lock. Signed-off-by: Daniel Barkalow Signed-off-by: Linus Torvalds --- cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 95353a10a..74307f182 100644 --- a/cache.h +++ b/cache.h @@ -117,6 +117,7 @@ extern unsigned int active_nr, active_alloc, active_cache_changed; #define INDEX_ENVIRONMENT "GIT_INDEX_FILE" extern char *get_object_directory(void); +extern char *get_refs_directory(void); extern char *get_index_file(void); #define ALTERNATE_DB_ENVIRONMENT "GIT_ALTERNATE_OBJECT_DIRECTORIES" -- cgit v1.2.1