]> git.99rst.org Git - git.git/commit
urlmatch: change 'allow_globs' arg to bool
authorChristian Couder <redacted>
Wed, 27 May 2026 14:08:14 +0000 (16:08 +0200)
committerJunio C Hamano <redacted>
Wed, 27 May 2026 20:20:15 +0000 (05:20 +0900)
commitee7ea4907ccef604f764df5e223640ad04192f6d
treefe713bdd62b1895df97eaaa2a954e41af736e98a
parent4ed1ffe680d1ad0fe7436c9816262b6abb518629
urlmatch: change 'allow_globs' arg to bool

The last argument of url_normalize_1() is `char allow_globs` but it is
used as a boolean, not as a char.

Let's convert it to a `bool`, and while at it convert the two calls to
url_normalize_1() so they pass 'true' or 'false' instead of '1' or '0'.

Signed-off-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
urlmatch.c
git clone https://git.99rst.org/PROJECT