format-patch: use enum variables
commita92331df18112199d6aa7bee132ecf928509621c
authorDenton Liu <liu.denton@gmail.com>
Tue, 15 Oct 2019 09:06:37 +0000 (15 02:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Oct 2019 01:26:44 +0000 (16 10:26 +0900)
tree614c0cdb8a4d15719b847cef7c105b39de42f58a
parent46273df7bfdd43e5f8a190d0a80a078ca55ce5ff
format-patch: use enum variables

Before, `thread` and `config_cover_letter` were defined as ints even
though they behaved as enums. Define actual enums and change these
variables to use these new definitions.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c