]> Sergey Matveev's repositories - public-inbox.git/commit
t/config_limiter: fix check for identical Git object
authorEric Wong <e@80x24.org>
Sat, 30 Jul 2016 23:33:11 +0000 (23:33 +0000)
committerEric Wong <e@80x24.org>
Sat, 30 Jul 2016 23:33:30 +0000 (23:33 +0000)
commit4f9325bd4c9a8f971ab6e37aa449ee6958ec95e9
treed2b33a7615bd82c789f76c677444de62093eb4b3
parent87b61d1daa05bdcf9d810d1655e5abb45456e9a5
t/config_limiter: fix check for identical Git object

If we completely undef an object, it is likely possible
to have the same scalar address as the original object
even if they are different.  So keep the same object
around and only force creation of the same reference.
Tested on Perl 5.14.2 on Debian 7.x wheezy.
t/config_limiter.t