Skip to content

Commit b53d78a

Browse files
committed
Tweaked the naming of patches derived from commits.
- Legacy-Id: 17792
1 parent c9f69f1 commit b53d78a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/mkpatch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ done
106106
# The program itself
107107

108108
if [ "$CHG" ]; then
109-
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)
109+
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)
110110
name="$name-c$CHG"
111111
else
112112
if [ $# -lt 2 ]; then die "Expected patch name and file list on the command line."; fi

0 commit comments

Comments
 (0)