From: Emil Velikov <emil.veli...@collabora.com> New script invoked by the project's autogen.sh to facilitate basic git config setup and likely others in the future.
Ensure that all of output is redirected to /dev/null and the script is bundled + installed. Cc: Peter Hutterer <peter.hutte...@who-t.net> Signed-off-by: Emil Velikov <emil.veli...@collabora.com> --- Makefile.am | 1 + xorg-prepare-git-repo.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 xorg-prepare-git-repo.sh diff --git a/Makefile.am b/Makefile.am index 134a5cc..ff6087a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,7 @@ aclocaldir = $(datadir)/aclocal aclocal_DATA = xorg-macros.m4 +dist_bin_SCRIPTS = xorg-prepare-git-repo.sh dist_pkgdata_DATA = INSTALL # Previous versions used to install xorgversion.m4, now integrated diff --git a/xorg-prepare-git-repo.sh b/xorg-prepare-git-repo.sh new file mode 100644 index 0000000..697cee9 --- /dev/null +++ b/xorg-prepare-git-repo.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +git config --local --get sendemail.to >/dev/null 2>&1 || + git config --local sendemail.to "xorg-devel@lists.x.org" >/dev/null 2>&1 + +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH $modulename" >/dev/null 2>&1 -- 2.11.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel