summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-03-11 17:36:59 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-11 15:02:22 -0800
commit21627f9b6ddddfeb40a53e116459a86be0520a4e (patch)
tree18a88b23f302bbf52a06b67025bbe61bd24c51ed /Documentation
parentlazily load core.sharedrepository (diff)
downloadtgif-21627f9b6ddddfeb40a53e116459a86be0520a4e.tar.xz
check_repository_format_gently: stop using git_config_early
There's a chicken-and-egg problem with using the regular git_config during the repository setup process. We get around it here by using a special interface that lets us specify the per-repo config, and avoid calling git_pathdup(). But this interface doesn't actually make sense. It will look in the system and per-user config, too; we definitely would not want to accept a core.repositoryformatversion from there. The git_config_from_file interface is a better match, as it lets us look at a single file. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions