From b53d78a0ad91b6ee7505fd3ce7349a0c1efd93b6 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 13 May 2020 13:02:33 +0000 Subject: [PATCH] Tweaked the naming of patches derived from commits. - Legacy-Id: 17792 --- bin/mkpatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mkpatch b/bin/mkpatch index 072dbd762..cd3dbe3af 100755 --- a/bin/mkpatch +++ b/bin/mkpatch @@ -106,7 +106,7 @@ done # The program itself if [ "$CHG" ]; then - name=$(echo $(svn log -c $CHG | sed -r -e '/^---/d' -e '/^r[0-9]+/d' -e '/^$/d' -e 's/Merged in \[[0-9]+\] from [^:]+..//' ) | sed -r -e 's/(.*)/\L\1/' -e 's/[^[:alnum:]]/-/g' -e 's/-+/-/g' | cut -c 1-40) + name=$(echo $(svn log -c $CHG | sed -r -e '/^---/d' -e '/^r[0-9]+/d' -e '/^$/d' -e 's/Merged in \[[0-9]+\] from [^:]+..//' ) | sed -r -e 's/(.*)/\L\1/' -e 's/[^[:alnum:]]/-/g' -e 's/-+/-/g' -e's/-$//' | cut -c 1-40) name="$name-c$CHG" else if [ $# -lt 2 ]; then die "Expected patch name and file list on the command line."; fi