summaryrefslogtreecommitdiff
path: root/rpmlint-checks-master/mkchanges
diff options
context:
space:
mode:
Diffstat (limited to 'rpmlint-checks-master/mkchanges')
-rwxr-xr-xrpmlint-checks-master/mkchanges7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpmlint-checks-master/mkchanges b/rpmlint-checks-master/mkchanges
new file mode 100755
index 0000000..eee31c5
--- /dev/null
+++ b/rpmlint-checks-master/mkchanges
@@ -0,0 +1,7 @@
+#!/bin/sh
+# create log suitable for c&p into rpm changes file
+if [ -z "$1" ]; then
+ set -- remotes/origin/master..master
+fi
+# no idea why it always prints those commit lines
+git rev-list --pretty=format:" - %s" "$@" |grep -v ^commit