libgit2/libgit2sharp — comment on commit d526b188d7b18b5d4ed8da4c3e1fb3a1b954e470
File: LibGit2Sharp/Index.cs line 159
By Haacked:

Should this really be an `ArgumentNullException`? The reason I ask is I ran into this and I was confused because the argument I gave was definitely not null. :)

Perhaps this should simply just return immediately since there's no work to be done. Or at worse, throw an `InvalidOperationException` or a more generic `ArgumentException`.