[PATCH libdrm] autogen.sh: set format.subjectPrefix and sendemail.to if needed

Jani Nikula jani.nikula at linux.intel.com
Tue Dec 13 14:16:50 UTC 2016


On Tue, 13 Dec 2016, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Just set the rules automatically rather than asking each contributor to
> update thing locally.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  autogen.sh | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/autogen.sh b/autogen.sh
> index c896097..e936f04 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -9,6 +9,12 @@ cd "$srcdir"
>  autoreconf --force --verbose --install || exit 1
>  cd "$ORIGDIR" || exit $?
>  
> +git config --local --get format.subjectPrefix ||
> +    git config --local format.subjectPrefix "PATCH libdrm"
> +
> +git config --local --get sendemail.to ||
> +    git config --local sendemail.to "dri-devel at lists.freedesktop.org"
> +

So I don't really play with libdrm source much, but can you expect this
to only be run in a git repo? How about source/distro/tarball releases?

BR,
Jani.

>  if test -z "$NOCONFIGURE"; then
>      "$srcdir"/configure "$@"
>  fi

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list