summaryrefslogtreecommitdiff
path: root/match-trees.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-04-03 18:28:14 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-06 08:30:03 +0900
commit46fc89ce74b46e88764c796b3ab20d5ab90a5e96 (patch)
tree9482654c6bde0e91f72fe6f42b7ceff5e8111783 /match-trees.c
parentt1300: demonstrate that --replace-all can "invent" newlines (diff)
downloadtgif-46fc89ce74b46e88764c796b3ab20d5ab90a5e96.tar.xz
config --replace-all: avoid extra line breaks
When replacing multiple config entries at once, we did not re-set the flag that indicates whether we need to insert a new-line before the new entry. As a consequence, an extra new-line was inserted under certain circumstances. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'match-trees.c')
0 files changed, 0 insertions, 0 deletions