Re: [PATCH xserver] autogen: Set a default subject prefix for patches
On Mon, 2016-01-18 at 13:09 -0800, Eric Anholt wrote: > This doesn't work unless you have NOCONFIGURE set, because of "exec". > If you move it up above that block, it's: > > Reviewed-by: Eric AnholtDone: To ssh://git.freedesktop.org/git/xorg/xserver 7bb64d8..a722d61 master -> master - ajax ___ 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
Re: [PATCH xserver] autogen: Set a default subject prefix for patches
Adam Jacksonwrites: > Per discussion at XDC2015, we want this so we can easily distinguish > which module a patch is for. There's no way to set this in the > server-side config, so setting a default at autogen time is about the > best we can do. > > Signed-off-by: Adam Jackson > --- > autogen.sh | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/autogen.sh b/autogen.sh > index aee4beb..4b1b523 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -12,3 +12,6 @@ cd "$ORIGDIR" || exit $? > if test -z "$NOCONFIGURE"; then > exec "$srcdir"/configure "$@" > fi > + > +git config --local --get format.subjectPrefix || > +git config --local format.subjectPrefix "PATCH xserver" > -- This doesn't work unless you have NOCONFIGURE set, because of "exec". If you move it up above that block, it's: Reviewed-by: Eric Anholt signature.asc Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH xserver] autogen: Set a default subject prefix for patches
Per discussion at XDC2015, we want this so we can easily distinguish which module a patch is for. There's no way to set this in the server-side config, so setting a default at autogen time is about the best we can do. Signed-off-by: Adam Jackson--- autogen.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autogen.sh b/autogen.sh index aee4beb..4b1b523 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,3 +12,6 @@ cd "$ORIGDIR" || exit $? if test -z "$NOCONFIGURE"; then exec "$srcdir"/configure "$@" fi + +git config --local --get format.subjectPrefix || +git config --local format.subjectPrefix "PATCH xserver" -- 2.5.0 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel