From f55e7ecb1dd2ba3b5bcb0748b78cb732f40d506c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 25 Apr 2023 03:14:05 +0300 Subject: [PATCH 41/41] refresh_changelog.sh: Trim trailing spaces See osdn #47932 Signed-off-by: Marko Lindqvist --- scripts/refresh_changelog.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/refresh_changelog.sh b/scripts/refresh_changelog.sh index f1a5491c2b..7336c1f364 100755 --- a/scripts/refresh_changelog.sh +++ b/scripts/refresh_changelog.sh @@ -25,7 +25,8 @@ fi OLDREV="$(head -n 1 ChangeLog | sed 's/.* //')" -git log --no-decorate --pretty=medium ${OLDREV}..HEAD > ChangeLog.new +git log --no-decorate --pretty=medium ${OLDREV}..HEAD | + sed 's/[ ]*$//' > ChangeLog.new echo >> ChangeLog.new cat ChangeLog >> ChangeLog.new mv ChangeLog.new ChangeLog -- 2.39.2