Good point. Thanks.  I'll fix the decode bug.

I don't have mono. I think testing for mono would be good. Wouldn't know
how to. I can google it though.
On Apr 6, 2013 3:04 PM, "Janusz Białobrzewski" <notifications@github.com>
wrote:

> In GitCommands/Settings.cs:
>
> >                      return (T)o;
> > +                else if (decode != null && decode(o) is T)
>
> Is it possible to decode(o) is T evaluates to false?
>
> If decode == null then user get false message that throw new
> Exception("Incompatible class for settings: " + name + ". Expected: " +
> typeof(T).FullName + ", found: " + o.GetType().FullName);
> There should be thrown ArgumentNullException in that case.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gitextensions/gitextensions/pull/1788/files#r3684663>
> .
>