Closed
Description
I'm running into a NullReferenceException
when trying to delete a config setting.
Repro steps.
- In
%USERPROFILE%\.gitconfig
add the following:
[http]
proxy =
-
Run the following code:
var value = repository.Config.Get("http.proxy", "MISSING"); if (String.IsNullOrEmpty(value)) { repository.Config.Delete("http.proxy"); }
I get an exception on that Delete
call.