summaryrefslogtreecommitdiff
path: root/t/t7008-grep-binary.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-03-11 17:37:14 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-11 15:02:23 -0800
commit652f18ee8734ffb4a98271e5020dfa550db0f37b (patch)
tree41ab2d1feb7931e2a4ef64a1f56ce89bba6d359d /t/t7008-grep-binary.sh
parentinit: use setup.c's repo version verification (diff)
downloadtgif-652f18ee8734ffb4a98271e5020dfa550db0f37b.tar.xz
setup: unify repository version callbacks
Once upon a time, check_repository_format_gently would parse the config with a single callback, and that callback would set up a bunch of global variables. But now that we have separate workdirs, we have to be more careful. Commit 31e26eb (setup.c: support multi-checkout repo setup, 2014-11-30) introduced a reduced callback which omits some values like core.worktree. In the "main" callback we call the reduced one, and then add back in the missing variables. Now that we have split the config-parsing from the munging of the global variables, we can do it all with a single callback, and keep all of the "are we in a separate workdir" logic together. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7008-grep-binary.sh')
0 files changed, 0 insertions, 0 deletions