- do not include commits with - prefixed to message in changelog delta
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 27 May 2020 07:40:41 +0000 (09:40 +0200)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 27 May 2020 07:40:41 +0000 (09:40 +0200)
contrib/scripts/changelog_delta.sh

index 2ac5423e274209899c99bc386f95ae8fd6034ed3..1c14d69e29d9a8c2f46282ae06a1009b963b75da 100644 (file)
@@ -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