Commit 2e43cd4
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>1 parent b4f207f commit 2e43cd4
1 file changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
953 | 955 | | |
954 | 956 | | |
955 | 957 | | |
956 | 958 | | |
957 | 959 | | |
958 | | - | |
959 | | - | |
| 960 | + | |
960 | 961 | | |
961 | 962 | | |
962 | 963 | | |
963 | 964 | | |
964 | | - | |
| 965 | + | |
965 | 966 | | |
966 | 967 | | |
967 | | - | |
| 968 | + | |
968 | 969 | | |
969 | 970 | | |
970 | | - | |
| 971 | + | |
971 | 972 | | |
972 | 973 | | |
973 | | - | |
| 974 | + | |
974 | 975 | | |
975 | 976 | | |
976 | | - | |
| 977 | + | |
977 | 978 | | |
978 | 979 | | |
979 | | - | |
| 980 | + | |
980 | 981 | | |
981 | 982 | | |
982 | 983 | | |
| |||
0 commit comments