add lastlog script
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 27 May 2020 07:32:06 +0000 (09:32 +0200)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 27 May 2020 07:32:06 +0000 (09:32 +0200)
contrib/scripts/changelog_delta.sh [new file with mode: 0644]

diff --git a/contrib/scripts/changelog_delta.sh b/contrib/scripts/changelog_delta.sh
new file mode 100644 (file)
index 0000000..2ac5423
--- /dev/null
@@ -0,0 +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