diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2005-06-06 16:31:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-06 17:09:45 -0700 |
commit | 95fc75129acf14d980bdd56b9b2ee74190f81d91 (patch) | |
tree | d3a6988ffe8b9ae0b554ddb4485ffb0f1cac0dc7 /cache.h | |
parent | 451322512f2f72fe07461a8aeae0df4cfce7fda1 (diff) | |
download | git-95fc75129acf14d980bdd56b9b2ee74190f81d91.tar.gz |
[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 <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |