summaryrefslogtreecommitdiff
path: root/t/t5100/info0015
diff options
context:
space:
mode:
authorLibravatar Heiko Voigt <hvoigt@hvoigt.net>2013-07-12 00:44:39 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-12 09:34:57 -0700
commit4d8dd1494e9f3af2e9738edaca40ada096f7bf10 (patch)
tree1baed31fe774d5ebc4c9c6013a0c11cf7ff9c538 /t/t5100/info0015
parentconfig: drop cf validity check in get_next_char() (diff)
downloadtgif-4d8dd1494e9f3af2e9738edaca40ada096f7bf10.tar.xz
config: make parsing stack struct independent from actual data source
To simplify adding other sources we extract all functions needed for parsing into a list of callbacks. We implement those callbacks for the current file parsing. A new source can implement its own set of callbacks. Instead of storing the concrete FILE pointer for parsing we store a void pointer. A new source can use this to store its custom data. Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/info0015')
0 files changed, 0 insertions, 0 deletions