1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-09 14:06:12 +02:00
git/perl/Git
Ævar Arnfjörð Bjarmason 256c2dc42c perl: use mock i18n functions under NO_GETTEXT=Y
Change the logic of the i18n functions I added in 5e9637c629 (i18n:
add infrastructure for translating Git with gettext, 2011-11-18) to
use pass-through functions when NO_GETTEXT is defined.

This speeds up the compilation time of commands that use this library
when NO_GETTEXT=Y is in effect. Loading it and POSIX.pm is around 20ms
on my machine, whereas it takes 2ms to just instantiate perl itself.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-05-06 12:58:33 +09:00
..
LoadCPAN perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
SVN Merge branch 'jk/perl-warning' 2020-11-09 14:06:25 -08:00
I18N.pm perl: use mock i18n functions under NO_GETTEXT=Y 2021-05-06 12:58:33 +09:00
IndexInfo.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
LoadCPAN.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
Packet.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
SVN.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00