Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Voigt <hvoigt@hvoigt.net>2013-07-12 02:44:39 +0400
committerJunio C Hamano <gitster@pobox.com>2013-07-12 20:34:57 +0400
commit4d8dd1494e9f3af2e9738edaca40ada096f7bf10 (patch)
tree1baed31fe774d5ebc4c9c6013a0c11cf7ff9c538 /t/t1307-config-blob.sh
parentdbb9a8125542be4d57bc71b6d5baf81c7409a68b (diff)
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/t1307-config-blob.sh')
0 files changed, 0 insertions, 0 deletions