create-pull-request: handle '/' in subject correctly
cover create-pull-request: handle '/' in subject correctly
The following changes since commit f301a3bc110608c3684c78dd62e276beea73bd94:
settings-daemon: Drop pointless apply=yes in SRC_URI (2018-05-04 13:28:06 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/create-pull-request-fix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/create-pull-request-fix
Chen Qi (1):
create-pull-request: handle '/' in subject correctly
scripts/create-pull-request | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
PATCH 1/1 create-pull-request: handle '/' in subject correctly
When subject contains '/', we will meet the following error when using create-pull-request.
sed: -e expression #1, char 59: unknown option to `s'
The problem is not critical. But it's better to fix it.
--- scripts/create-pull-request | 1 + 1 file changed, 1 insertion(+)
scripts/create-pull-request +1 -0
@@ -278,6 +278,7 @@ fi # Replace the SUBJECT token with it. if [ -n "$SUBJECT" ]; then + SUBJECT="`echo $SUBJECT | sed -e 's#/#\\\\/#g'`" sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" fi
Signature · 1 line
1.9.1
ping
Quoted 24 lines · Chen Qi
When subject contains '/', we will meet the following error when using create-pull-request.
sed: -e expression #1, char 59: unknown option to `s'
The problem is not critical. But it's better to fix it.
Signed-off-by Chen Qi <[email protected]>--- scripts/create-pull-request | 1 + 1 file changed, 1 insertion(+)scripts/create-pull-request +1
-0@@ -278,6 +278,7 @@ fi # Replace the SUBJECT token with it. if [ -n "$SUBJECT" ]; then + SUBJECT="`echo $SUBJECT | sed -e 's#/#\\\\/#g'`" sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" fi
ping
Quoted 15 lines · Chen Qi
The following changes since commit
f301a3bc110608c3684c78dd62e276beea73bd94:settings-daemon: Drop pointless apply=yes in SRC_URI (2018-05-04 13:28:06 +0100)are available in the git repository at:
git://git.pokylinux.org/poky-contribChenQi/create-pull-request-fix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/create-pull-request-fixChen Qi (1):
create-pull-request: handle '/' in subject correctlyscripts/create-pull-request | 1 + 1 file changed, 1 insertion(+)