diff options
author | Jeff King <peff@peff.net> | 2016-09-12 20:23:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-13 15:45:45 -0700 |
commit | 6a1e1bc0a155faa5a095ce00bd06678a1dfa0eea (patch) | |
tree | a39d5971e72ad8bbf261b572223f25ebdb4f5425 /mergesort.c | |
parent | pager: make pager_program a file-local static (diff) | |
download | tgif-6a1e1bc0a155faa5a095ce00bd06678a1dfa0eea.tar.xz |
pager: use callbacks instead of configset
While the cached configset interface is more pleasant to
use, it is not appropriate for "early" config like pager
setup, which must sometimes do tricky things like reading
from ".git/config" even when we have not set up the
repository.
As a preparatory step to handling these cases better, let's
switch back to using the callback interface, which gives us
more control.
Note that this is essentially a revert of 586f414 (pager.c:
replace `git_config()` with `git_config_get_value()`,
2014-08-07), but with some minor style fixups and
modernizations.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergesort.c')
0 files changed, 0 insertions, 0 deletions