]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer: use configured comment character
authorAaron Schrab <aaron@schrab.com>
Mon, 16 Jul 2018 04:59:02 +0000 (00:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2018 18:04:56 +0000 (11:04 -0700)
commit02cfd149207f65dd8462ed90c505c90af8655fc9
treeb65f82ea0acb647b92bc6d3cb37522aa227d0ad8
parented843436dd4924c10669820cc73daf50f0b4dabd
sequencer: use configured comment character

Use the configured comment character when generating comments about
branches in a todo list.  Failure to honor this configuration causes a
failure to parse the resulting todo list.

Setting core.commentChar to "auto" will not be honored here, and the
previously configured or default value will be used instead. But, since
the todo list will consist of only generated content, there should not
be any non-comment lines beginning with that character.

Signed-off-by: Aaron Schrab <aaron@schrab.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c