|author||Paul Eggleton <firstname.lastname@example.org>||2019-07-30 09:46:14 +1200|
|committer||Paul Eggleton <email@example.com>||2019-07-30 09:51:41 +1200|
scripts/create-pull-request: fix putting subject containing / into cover letterpaule/create-pull-request
If a single-commit series had a shortlog containing a "/" character then that prevented putting the shortlog into the subject of the cover letter message. Use a different separating character with the sed command (one much less likely to appear) in order to fix it. Signed-off-by: Paul Eggleton <firstname.lastname@example.org>
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 762828fd9a..8eefcf63a5 100755
@@ -257,7 +257,7 @@ fi
# Replace the SUBJECT token with it.
if [ -n "$SUBJECT" ]; then
- sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL"
+ sed -i -e "s\`\*\*\* SUBJECT HERE \*\*\*\`$SUBJECT\`" "$CL"