]> granicus.if.org Git - pdns/commitdiff
add git-to-changelog tool
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 23 May 2013 12:39:50 +0000 (14:39 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 23 May 2013 12:39:50 +0000 (14:39 +0200)
build-scripts/git-to-changelog [new file with mode: 0755]

diff --git a/build-scripts/git-to-changelog b/build-scripts/git-to-changelog
new file mode 100755 (executable)
index 0000000..8100a7d
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+git log --pretty=format:'<listitem>
+  <para>
+    g%h: %s
+  </para>
+</listitem>' "$@" | perl -pe 's/\#(\d+)/t$1/g'