]> git.ipfire.org Git - thirdparty/git.git/commit - advice.c
advice: add enum variants for missing advice variables
authorBen Boeckel <mathstuf@gmail.com>
Mon, 23 Aug 2021 10:43:59 +0000 (12:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Aug 2021 19:07:51 +0000 (12:07 -0700)
commit69290551b9a4fa22e76612926e131f926c6c9f11
treedcb8d22c05084b8520fbf1c5254678d9e7984e3d
parent225bc32a989d7a22fa6addafd4ce7dcd04675dbf
advice: add enum variants for missing advice variables

In daef1b300b0 (Merge branch 'hw/advice-add-nothing', 2020-02-14), two
advice settings were introduced into the `advice_config` array.

Subsequently, c4a09cc9ccb (Merge branch 'hw/advise-ng', 2020-03-25)
started to deprecate `advice_config` in favor of a new array,
`advice_setting`.

However, the latter branch did not include the former branch, and
therefore `advice_setting` is missing the two entries added by the
`hw/advice-add-nothing` branch.

These are currently the only entries in `advice_config` missing from
`advice_setting`.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
advice.c
advice.h