config.c
16.6 KB
-
config: don't allow passing NULL as a value to set · 48bde2f1
Passing NULL is non-sensical. The error message leaves to be desired, though, as it leaks internal implementation details. Catch it at the `git_config_set_string` level and set an appropriate error message.
Carlos Martín Nieto committed