config_file.c
29.5 KB
-
config_file: refactor `do_match_gitdir` to improve readability · 5d987f7d
The function `do_match_gitdir` has some horribly named parameters and variables. Rename them to improve readability. Furthermore, fix a potentially undetected out-of-memory condition when appending "**" to the pattern.
Patrick Steinhardt committed