summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-25 23:59:09 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-27 09:32:59 (GMT)
commitab9cb76f661c1794800361c27bc5a515245aaaef (patch)
treed13942115e4692463908c41efe7d2d7369a63d52 /environment.c
parent51b3c00e9d95371a9ad202204f01c5981f241b20 (diff)
downloadgit-ab9cb76f661c1794800361c27bc5a515245aaaef.zip
git-ab9cb76f661c1794800361c27bc5a515245aaaef.tar.gz
git-ab9cb76f661c1794800361c27bc5a515245aaaef.tar.bz2
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 b5026f1..3f19473 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;