diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2019-06-21 13:18:07 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-21 19:42:49 +0300 |
commit | 2e43cd4caa8ad9eb0c53adc1e00dcd027b8710fd (patch) | |
tree | 9a4e48e1d0a26315cac40c5782bcc0df59605eb0 /gettext.c | |
parent | b4f207f339469e604260bdf6da8673db9c9c9105 (diff) |
config.c: refactor die_bad_number() to not call gettext() early
Prepare die_bad_number() for a change to specially handle
GIT_TEST_GETTEXT_POISON calling git_env_bool() by making
die_bad_number() not call gettext() early, which would in turn call
git_env_bool().
There's no meaningful change here yet, just a re-arrangement of the
current code to make that subsequent change easier to read.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gettext.c')
0 files changed, 0 insertions, 0 deletions