fast-import: use int for some bool flags

The `show_stats` and `quiet` flags are meant to be parsed and used as
boolean flags.

To easily parse them using OPT_BOOL in a following commit, let's change
their type from 'unsigned int' to just 'int'.

Signed-off-by: Christian Couder <christian.couder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
main
Christian Couder 2026-08-11 10:33:07 +02:00 committed by Junio C Hamano
parent 62c1a58eeb
commit a895a37c1b
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ static unsigned long branch_count;
static unsigned long branch_load_count;
static int failure;
static FILE *pack_edges;
static unsigned int show_stats = 1;
static unsigned int quiet;
static int show_stats = 1;
static int quiet;
static int global_argc;
static const char **global_argv;
static const char *global_prefix;