Subject: [PATCH 4/5] config: use boolean type for a simple flag

From: "D. Ben Knoble" <[email-masked]>
Date: Sun, 2 Nov 2025 11:17:47 -0500

Suggested-by: Phillip Wood <[email-masked]>
Signed-off-by: D. Ben Knoble <[email-masked]>
---
 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.c b/config.c
index 71b136bf7f..f1def0dcfb 100644
--- a/config.c
+++ b/config.c
@@ -1278,7 +1278,7 @@ int git_config_string(char **dest, const char *var, const char *value)
 
 int git_config_pathname(char **dest, const char *var, const char *value)
 {
-	int is_optional;
+	bool is_optional;
 	char *path;
 
 	if (!value)
-- 
2.48.1