aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-25 15:59:09 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-27 01:32:59 -0800
commitab9cb76f661c1794800361c27bc5a515245aaaef (patch)
treed13942115e4692463908c41efe7d2d7369a63d52 /environment.c
parent51b3c00e9d95371a9ad202204f01c5981f241b20 (diff)
downloadgit-ab9cb76f661c1794800361c27bc5a515245aaaef.tar.gz
git-ab9cb76f661c1794800361c27bc5a515245aaaef.tar.xz
Repository format version check.
This adds the repository format version code, first done by Martin Atukunda. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index b5026f126..3f194732e 100644
--- a/environment.c
+++ b/environment.c
@@ -13,6 +13,7 @@ char git_default_email[MAX_GITNAME];
char git_default_name[MAX_GITNAME];
int trust_executable_bit = 1;
int only_use_symrefs = 0;
+int repository_format_version = 0;
static char *git_dir, *git_object_dir, *git_index_file, *git_refs_dir,
*git_graft_file;