Merge branch 'jc/strbuf-add-lines-avoid-sp-ht-sequence'
commit58e0362eddba1678a71c8990862053ff989527b6
authorJunio C Hamano <gitster@pobox.com>
Wed, 7 Jan 2015 20:49:19 +0000 (7 12:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Jan 2015 20:49:19 +0000 (7 12:49 -0800)
tree3d3a41a516dc7cc1343c5f71f212eb79f1662632
parentf41157e649615ada01f175d00f9bd8c9ea507bca
parentd55aeb7687448189327ad058096b55431da5ea42
Merge branch 'jc/strbuf-add-lines-avoid-sp-ht-sequence'

The commented output used to blindly add a SP before the payload
line, resulting in "# \t<indented text>\n" when the payload began
with a HT.  Instead, produce "#\t<indented text>\n".

* jc/strbuf-add-lines-avoid-sp-ht-sequence:
  strbuf_add_commented_lines(): avoid SP-HT sequence in commented lines
strbuf.c