summaryrefslogtreecommitdiff
path: root/tools/git-contrib.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 13:54:10 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 13:57:48 +0200
commitdd1e33c8dc30c4d30e65688dabff7c66a456675e (patch)
treea9ada23b8bd1fe2043671efab3e2d13700c03627 /tools/git-contrib.sh
parent1f63c72d2e6a527c1207ea01dc223fc711247ba0 (diff)
downloadsystemd-dd1e33c8dc30c4d30e65688dabff7c66a456675e.tar.gz
meson: drop "meson-" prefix from various helper script filenames
In a few cases, the prefix was originally necessary because a different helper script was used for automake, and a different one for meson. But now we use meson exclusively, and the prefix isn't useful. This also synchronizes the target name, file name, and variable name in meson.build. The targets exposed by meson didn't have the prefix, so the user interface is unchanged. (The prefix is retained in the few tools that are used for meson itself, e.g. meosn-vcs-tag.sh, meson-make-symlink.sh, etc.)
Diffstat (limited to 'tools/git-contrib.sh')
-rwxr-xr-xtools/git-contrib.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/git-contrib.sh b/tools/git-contrib.sh
new file mode 100755
index 0000000000..b40e97ba62
--- /dev/null
+++ b/tools/git-contrib.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -eu
+
+git shortlog -s `git describe --abbrev=0`.. | \
+ cut -c8- | \
+ sed 's/ / /g' | \
+ awk '{ print $$0 "," }' | \
+ sed -e 's/ / /g' | \
+ sort -u