Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add set_git_dir() function
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index 98af53040d1e0274895237fdf6a3699b91bdb20f..e1f94cbade4574d496f965694f2a2e3e5c21027b 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-214,6
+214,7
@@
extern char *get_object_directory(void);
extern char *get_refs_directory(void);
extern char *get_index_file(void);
extern char *get_graft_file(void);
+extern int set_git_dir(const char *path);
#define ALTERNATE_DB_ENVIRONMENT "GIT_ALTERNATE_OBJECT_DIRECTORIES"