Re: [REGRESSION] uninitialized value $address in git send-email when given multiple recipients separated by commas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 25, 2023 at 02:45:47PM +0700, Bagas Sanjaya wrote:

> On Sat, Sep 23, 2023 at 11:36:25PM -0400, Jeff King wrote:
> > Your report also mentions a validation hook, so I tried installing one
> > like:
> > 
> > 	cat >.git/hooks/sendemail-validate <<-\EOF
> > 	#!/bin/sh
> > 	echo >&2 running validate hook
> > 	exit 0
> > 	EOF
> > 	chmod +x .git/hooks/sendemail-validate
> > 
> > and confirmed that the hook runs (three times, as expected). But still
> > no error. I'm using v2.41.0 to test against.
> > 
> 
> Hi Jeff,
> 
> I think you missed perl version. As stated earlier, I'm on Debian testing
> with perl v5.36.0. On there, `perl -V` outputs:

Mine is the same (I'm on Debian unstable, but the version is currently
the same as the one on testing).

> For the sendemail-validate hook itself, I managed to trigger this regression
> with simple helloworld script:
> 
> ```
> #!/bin/bash
> 
> echo "patching..." && exit 0
> ```

I think that's equivalent to what I was using (and certainly using yours
verbatim does not change anything on my end).

Do you have any other send-email related config? Can you show us the
output of "git config --list"?

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux