From a895a37c1bccbfc19892df14ea83c56ea4f50e87 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Tue, 11 Aug 2026 10:33:07 +0200 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- builtin/fast-import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/fast-import.c b/builtin/fast-import.c index 9fc9ebe65a..9c8edd7c89 100644 --- a/builtin/fast-import.c +++ b/builtin/fast-import.c @@ -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;