Skip to content

Commit 4dbb7f4

Browse files
benknoblegitster
authored andcommitted
config: use boolean type for a simple flag
Suggested-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4da5beb commit 4dbb7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ int git_config_string(char **dest, const char *var, const char *value)
12791279

12801280
int git_config_pathname(char **dest, const char *var, const char *value)
12811281
{
1282-
int is_optional;
1282+
bool is_optional;
12831283
char *path;
12841284

12851285
if (!value)

0 commit comments

Comments
 (0)