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

Michel Dänzer michel at daenzer.net
Wed Dec 14 07:04:37 UTC 2016


On 13/12/16 10:09 PM, Emil Velikov 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"

This is nice in general, but e.g. patches for the amdgpu/radeon
subdirectories should go to the amd-gfx list instead, and possibly also
have a different subject prefix. But maybe this is a good starting point
anyway.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the dri-devel mailing list