Skydio / revup

Effortlessly create and manage pull requests without changing branches. Powers a stacked diffs workflow with python and git "plumbing" commands.
https://github.com/Skydio/revup
MIT License
310 stars 59 forks source link

makefile: Fix newlines in revup man headers #138

Closed jerry-skydio closed 8 months ago

jerry-skydio commented 8 months ago

Not sure how this broke but I was seeing literal \n instead of newlines in the generated header + markdown, which then confuses pandoc and causes man pages to be formatted wrong.

Switch to using a multiline make variable that is then exported as a shell variable so newlines are retained. This also makes it cleaner anyways.

jerry-skydio commented 8 months ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/138 makefile: Fix newlines in revup man headers

jerry-skydio commented 8 months ago
# head base diff date summary
0 f55adca4 09a09342 diff Dec 22 17:18 PM 1 file changed, 12 insertions(+), 2 deletions(-)