Re: [PATCH v2] config: add --comment option to add a comment
- From
Ralph Seichter <github@seichter.de>
- Date
- Mar 12, 2024, 07:28 UTC
- Message-ID
- <877ci7lxid.fsf@ra.horus-it.com>
- In-Reply-To
- <CAPx1Gvd4FjCTSn4oUWNDtLS2G4V3yrddggafX0WHfHEdojtCNQ@mail.gmail.com>
* Chris Torek:
> You must use a literal line feed, e.g.: > > LF=' > '
Of course, silly me. Easily done in a shell script. I was too focused on trying it in an interactive shell. Thanks, Chris.
Do you perhaps know of a function in the Git code base which could be used to sanitise strings? It is quite a lot of code to sift through if one is unfamiliar with it, so I'll gladly take hints.
-Ralph