On Sun Jul 10 18:43:42 2011, sprout wrote:
> I can take a reference to a subroutine with a string (which
> autovivifies a stub):
>
> \&{"foo"}
>
> I can assign that to the *{""} glob and then take a reference to that:
>
> *{""} = \&{"foo"}
> \&{""}
>
> But if I try to take a reference to &{""} to begin with,
> autovivification fails and causes an error:
>
> $ perl -le '*foo = \&{""}'
> Unable to create sub named "" at -e line 1.
I fixed this in commit 186a5ba82, but I don’t know how to stop git
rebase -i from eating parts of the commit message, and I always forget
about this:
...While bug
#107370 still persists, bug #94476 (\&{""} not autovivifying) has
been fixed, as it was a side effect of sv_2cv triggering bug #107370.
becoming this:
...While bug
been fixed, as it was a side effect of sv_2cv triggering bug #107370.
So the commit message is gibberish. And I only realised after pushing it.
Is there any way to set git preferences so it doesn’t do that (and
doesn’t attach git status output to the file containing the commit message)?
--
Father Chrysostomos
Thread Next