Re: contrib: Check and if needed set user.name and user.email in gcc-git-customization.sh

2020-01-17 Thread Richard Earnshaw (lists)
On 16/01/2020 14:49, Andreas Schwab wrote: On Jan 16 2020, Richard Earnshaw (lists) wrote: diff --git a/contrib/gcc-git-customization.sh b/contrib/gcc-git-customization.sh index dae2c35bb57..1cde6fd8224 100755 --- a/contrib/gcc-git-customization.sh +++ b/contrib/gcc-git-customization.sh @@

Re: contrib: Check and if needed set user.name and user.email in gcc-git-customization.sh

2020-01-16 Thread Andreas Schwab
On Jan 16 2020, Richard Earnshaw (lists) wrote: > diff --git a/contrib/gcc-git-customization.sh > b/contrib/gcc-git-customization.sh > index dae2c35bb57..1cde6fd8224 100755 > --- a/contrib/gcc-git-customization.sh > +++ b/contrib/gcc-git-customization.sh > @@ -11,9 +11,9 @@ ask () { > read

Re: contrib: Check and if needed set user.name and user.email in gcc-git-customization.sh

2020-01-16 Thread Richard Earnshaw (lists)
On 15/01/2020 16:59, Richard Earnshaw (lists) wrote: As discussed on IRC, this adds a couple more checks in the customization setup for git.  If the variables user.name and user.email are not set anywhere in the git config hierarchy, we set some local values.  We always ask about the values we

contrib: Check and if needed set user.name and user.email in gcc-git-customization.sh

2020-01-15 Thread Richard Earnshaw (lists)
As discussed on IRC, this adds a couple more checks in the customization setup for git. If the variables user.name and user.email are not set anywhere in the git config hierarchy, we set some local values. We always ask about the values we detect and if the user gives an answer that is new,