summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-03-11 17:36:59 -0500
committerJunio C Hamano <gitster@pobox.com>2016-03-11 15:02:22 -0800
commit21627f9b6ddddfeb40a53e116459a86be0520a4e (patch)
tree18a88b23f302bbf52a06b67025bbe61bd24c51ed /log-tree.c
parentae5f67763b2a3eea7e7675febd8f87bf2f4c1219 (diff)
downloadgit-21627f9b6ddddfeb40a53e116459a86be0520a4e.tar.gz
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 'log-tree.c')
0 files changed, 0 insertions, 0 deletions