From 3a966c83d32db67d0e9cb23675f28b7233280aeb Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 27 May 2020 09:40:41 +0200 Subject: [PATCH] - do not include commits with - prefixed to message in changelog delta --- contrib/scripts/changelog_delta.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/scripts/changelog_delta.sh b/contrib/scripts/changelog_delta.sh index 2ac5423e2..1c14d69e2 100644 --- a/contrib/scripts/changelog_delta.sh +++ b/contrib/scripts/changelog_delta.sh @@ -1,3 +1,3 @@ #!/bin/bash LASTHASH=$(head -n1 ChangeLog | cut -d " " -f 7 | tr -d \( | tr -d \)) -git log --no-merges --no-color --format="%aD (%h)%n%s - %cN%n" $LASTHASH..HEAD +git log --invert-grep --grep="^- " --no-merges --no-color --format="%aD (%h)%n%s - %cN%n" $LASTHASH..HEAD -- 2.25.1