Re: [PATCH] git-credential-netrc: remove use of "autodie"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 13, 2018, 16:48 UTC
- Message-ID
- <xmqqpo0u7hup.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180613074810.5358-1-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 13 quoted lines
> Per my reading of the file this was the only thing autodie was doing > in this file (there was no other code it altered). So let's remove it, > both to fix the logic error and to get rid of the dependency. > > 1. <87efhfvxzu.fsf@evledraar.gmail.com> > (https://public-inbox.org/git/87efhfvxzu.fsf@evledraar.gmail.com/) > 2. <CAHqJXRE8OKSKcck1APHAHccLZhox+tZi8nNu2RA74RErX8s3Pg@mail.gmail.com> > (https://public-inbox.org/git/CAHqJXRE8OKSKcck1APHAHccLZhox+tZi8nNu2RA74RErX8s3Pg@mail.gmail.com/) > > Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> > --- > contrib/credential/netrc/git-credential-netrc | 1 - > 1 file changed, 1 deletion(-)
Even though this may not be all that release-critical, let's queue it so that we do not have to remember to dig it up later ;-)
Thank you very much to all of you involved in the thread.
Show 12 quoted lines
> diff --git a/contrib/credential/netrc/git-credential-netrc b/contrib/credential/netrc/git-credential-netrc > index 0b9a94102e..ebfc123ec6 100755 > --- a/contrib/credential/netrc/git-credential-netrc > +++ b/contrib/credential/netrc/git-credential-netrc > @@ -2,7 +2,6 @@ > > use strict; > use warnings; > -use autodie; > > use Getopt::Long; > use File::Basename;