diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-04-09 10:31:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-09 21:32:58 +0900 |
commit | 422e8ef26d35a7e54d5b7b990669f4a525cb8828 (patch) | |
tree | c075dfc253f9546269fe76d22f9446f5bb68136b /builtin | |
parent | t1300: remove unreasonable expectation from TODO (diff) | |
download | tgif-422e8ef26d35a7e54d5b7b990669f4a525cb8828.tar.xz |
t1300: add a few more hairy examples of sections becoming empty
During the review of the first iteration of the patch series to remove
sections that become empty upon --unset or --unset-all, Jeff King
identified a couple of problematic cases with the backtracking approach
that was still used then to "look backwards for the section header":
https://public-inbox.org/git/20180329213229.GG2939@sigill.intra.peff.net/
This patch adds a couple of concocted examples designed to fool a
backtracking parser.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions