diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-04-09 10:32:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-09 21:32:59 +0900 |
commit | 8032cc4462b8af268fe457c2a0431473334dfd18 (patch) | |
tree | 031f988e41677259d7e0014831f23da2cb3819c5 /builtin/rerere.c | |
parent | t1300: `--unset-all` can leave an empty section behind (bug) (diff) | |
download | tgif-8032cc4462b8af268fe457c2a0431473334dfd18.tar.xz |
config: introduce an optional event stream while parsing
This extends our config parser so that it can optionally produce an event
stream via callback function, where it reports e.g. when a comment was
parsed, or a section header, etc.
This parser will be used subsequently to handle the scenarios better where
removing config entries would make sections empty, or where a new entry
could be added to an already-existing, empty section.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rerere.c')
0 files changed, 0 insertions, 0 deletions