Conversation
@lina I'm happy to receive any b4 feedback you have. The "#" treatment bit is really because the cover letter is a git commit and if you edit it directly with git, it will remove any lines starting with "#". I'm worried that if we treat these any differently, we'll potentially run into unexpected behaviour. :/
1
0
4
@lina It's not "accidentally" if they literally asked to be cc'd on that regex. :)
0
0
3
@lina my goal is to avoid unexpected behaviour, so I'll try to think of a way that would both allow someone to add comments that won't go into the final cover letter (such as commenting out a Cc trailer) and do markup.
1
0
1
@lina I am considering using ">#" that is converted to just "#" when put into the cover letter body, but that's a partial fix. You'd still hit this same problem if you didn't know to use "># header" syntax. However maybe if I add this into the default cover letter template, it will be more obvious.
1
0
0
@monsieuricon @lina Not sure if there's a thread, I can't find it on lore.

Is this a git-ism? If not I think we should propose it as, I recently almost got bit by a "#" that just happened to line-break to the first character of a commit message. I escaped it with a space, but that's a bit ugly.
1
0
0
@palmer @lina Yes, git has always stripped lines starting with # -- which is why it's the behaviour in b4 as well.
1
0
0
@monsieuricon @lina Sorry, I was trying to ask if the ">#" escaping can be done elsewhere in git, as otherwise I end up just having to re-word things to avoid "#" starting a line.
1
0
0
@palmer @lina No, the ">#" bit is something I just came up with today. :)
0
0
0