From d3af621b147bb90a31fdc3b55e07853f45deb658 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 6 Aug 2005 12:50:14 -0700 Subject: Redo the templates generation and installation. Per discussion with people interested in binary packaging, change the default template location from /etc/git-core to /usr/share/git-core hierarchy. If a user wants to run git before installing for whatever reason, in addition to adding $src to the PATH environment variable, git-init-db can be run with --template=$src/templates/blt/ parameter. Signed-off-by: Junio C Hamano --- cache.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 6dbc32a7e..957e2ca7c 100644 --- a/cache.h +++ b/cache.h @@ -128,10 +128,6 @@ extern unsigned int active_nr, active_alloc, active_cache_changed; #define DB_ENVIRONMENT "GIT_OBJECT_DIRECTORY" #define INDEX_ENVIRONMENT "GIT_INDEX_FILE" #define GRAFT_ENVIRONMENT "GIT_GRAFT_FILE" -#define TEMPLATE_DIR_ENVIRONMENT "GIT_TEMPLATE_DIRECTORY" -#ifndef DEFAULT_GIT_TEMPLATE_ENVIRONMENT -#define DEFAULT_GIT_TEMPLATE_ENVIRONMENT "/etc/git-core/templates" -#endif extern char *get_object_directory(void); extern char *get_refs_directory(void); -- cgit v1.2.1