Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add a function to set a non-default work tree
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index 9da9179afd035cf4cc5ae403344d872950d6d3b3..aba029315cd2bbe9fe60cc0741ae4005d4552c05 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-311,6
+311,7
@@
extern char *get_index_file(void);
extern char *get_graft_file(void);
extern int set_git_dir(const char *path);
extern const char *get_git_work_tree(void);
+extern void set_git_work_tree(const char *tree);
#define ALTERNATE_DB_ENVIRONMENT "GIT_ALTERNATE_OBJECT_DIRECTORIES"