[PATCH libXfont 1/2] autogen: Set a default subject prefix for patches

Peter Hutterer peter.hutterer at who-t.net
Thu May 19 01:25:48 UTC 2016


On Wed, May 18, 2016 at 11:52:26AM -0400, Adam Jackson wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  autogen.sh | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/autogen.sh b/autogen.sh
> index fc34bd5..da95aaa 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -9,6 +9,9 @@ cd $srcdir
>  autoreconf -v --install || exit 1
>  cd $ORIGDIR || exit $?
>  
> +git config --local --get format.subjectPrefix ||
> +    git config --local format.subjectPrefix "PATCH libXfont"
> +

is it worth doing this in a generic manner everywhere?
something like "basename `git remote get-url origin`" to get the module
component.

Cheers,
   Peter


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


More information about the xorg-devel mailing list