On Thu, Jan 26, 2017 at 05:48:10PM +0000, Emil Velikov wrote: > From: Emil Velikov <[email protected]> > > Similar to the patch subject prefix we might as well handle the > sendemail setting. > > Cc: Peter Hutterer <[email protected]> > Signed-off-by: Emil Velikov <[email protected]> > --- > Here is another couple of patches that might be good to have tree-wide. > 1/2 might be picky depending on how funny git decides to be.
now I'm thinking: should we provide a xorg-prepare-git-repo.sh script with the macros and run that from autogen? They're needed anyway, so... Touching tens of repositories is a lot of fun, but not really :) to answer the next question: first line in autogen.sh can be modulename="driver foo" and we can pass that into the script. because I'm also tempted to auto-enable a git hook that calls make before push ;) Cheers, Peter > --- > autogen.sh | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/autogen.sh b/autogen.sh > index fe4d322..2a02ae4 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -6,6 +6,9 @@ test -z "$srcdir" && srcdir=. > ORIGDIR=`pwd` > cd "$srcdir" > > +git config --local --get sendemail.to >/dev/null 2>&1 || > + git config --local sendemail.to "[email protected]" > + > git config --local --get format.subjectPrefix >/dev/null 2>&1 || > git config --local format.subjectPrefix "PATCH util/macros" > > -- > 2.11.0 > _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
