libgit2/libgit2sharp — pull request #366 by dahlbyk (2013-03-16 22:12:25+00:00)
Title: Remove orphan hack for Commits.QueryBy() 

Related: #30, #355

This seems like a more reliable way to support any empty commit list since `HEAD` on orphan branches.

d31afcd includes a breaking change to handling for `Since = "refs/remotes/master"` that I think is the right thing to do: the branch doesn't exist, so we shouldn't go out of our way in this case to make it behave as if it does.

That said, if I'm on the wrong side of the "orphan branch as semi-real reference but only for `CommitLog`" issue, e6dbc3a makes the behavior depend on the current `HEAD` ref rather than hard-coded to `master`.

/cc @tclem @jamill @nulltoken