summaryrefslogtreecommitdiff
path: root/commit-reach.c
diff options
context:
space:
mode:
authorGlen Choo <chooglen@google.com>2023-03-28 17:51:50 +0000
committerJunio C Hamano <gitster@pobox.com>2023-03-28 13:03:27 -0700
commita798a56c8aea492a2078c40e16a4a46f3fea5133 (patch)
treeae911051c63fce0714c9b5979d9ae0b6b6eb87e6 /commit-reach.c
parent0c60285147441fbf93e435b4b022fe362b616a5a (diff)
config.c: plumb the_reader through callbacks
The remaining references to "cf_global" are in config callback functions. Remove them by plumbing "struct config_reader" via the "*data" arg. In both of the callbacks here, we are only reading from "reader->source". So in the long run, if we had a way to expose readonly information from "reader->source" (probably in the form of "struct key_value_info"), we could undo this patch (i.e. remove "struct config_reader" fom "*data"). Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions