]> git.ipfire.org Git - thirdparty/pdns.git/blob - build-scripts/git-to-changelog-merges
Merge pull request #4348 from rgacogne/dnsdist-outstanding-xfr
[thirdparty/pdns.git] / build-scripts / git-to-changelog-merges
1 #!/bin/sh
2
3 if [ "$1" = "-" ]; then
4 cat
5 else
6 git log --merges --pretty=format:'- %sXXX %b (AUTHOR)' "$@" |\
7 perl -pe 's! from ([^/]+).+XXX (.+) \(AUTHOR\)!: \2 (\1)!g' |\
8 perl -pe 's!Merge pull request #([[:digit:]]+)![#\1](https://github.com/PowerDNS/pdns/pull/\1)!g' |\
9 perl -pe 's!\((rgacogne|habbie|ahupowerdns|pieterlexis)\)!!gi' |\
10 grep -v dnsdist
11 fi