config_file.c
33.6 KB
-
Typedef git_config_level_t and use it everywhere · 16adc9fa
The GIT_CONFIG_LEVEL constants actually work well as an enum because they are mutually exclusive, so this adds a typedef to the enum and uses that everywhere that one of these constants are expected, instead of the old code that typically used an unsigned int.
Russell Belfer committed