diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-08 02:11:34 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-09 15:45:18 +0100 |
commit | 48bde2f1b62d24f3982382d520bfac887537641d (patch) | |
tree | da7dde9bafe3725298d7de04e6b52f351cc6c054 /tests | |
parent | 92ebbe99c9b557aee3382f51ddf6dd6637ee2fe4 (diff) | |
download | libgit2-48bde2f1b62d24f3982382d520bfac887537641d.tar.gz |
config: don't allow passing NULL as a value to set
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions