summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-03-11 22:37:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-03-11 23:02:24 (GMT)
commitc90e5293d11bc2c671312778aea33922a4ee1725 (patch)
tree196840d3446a1218c1ccf2b1a69b7fd5a1c47f16 /setup.c
parent652f18ee8734ffb4a98271e5020dfa550db0f37b (diff)
downloadgit-c90e5293d11bc2c671312778aea33922a4ee1725.zip
git-c90e5293d11bc2c671312778aea33922a4ee1725.tar.gz
git-c90e5293d11bc2c671312778aea33922a4ee1725.tar.bz2
setup: drop repository_format_version global
Nobody reads this anymore, and they're not likely to; the interesting thing is whether or not we passed check_repository_format(), and possibly the individual "extension" variables. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index fbe7ec1..1314c17 100644
--- a/setup.c
+++ b/setup.c
@@ -428,7 +428,6 @@ static int check_repository_format_gently(const char *gitdir, int *nongit_ok)
die("%s", err.buf);
}
- repository_format_version = candidate.version;
repository_format_precious_objects = candidate.precious_objects;
string_list_clear(&candidate.unknown_extensions, 0);
if (!has_common) {