libgit2/libgit2 — pull request #708 by arrbee (2012-05-17 21:25:03+00:00)
Title: Fix workdir iterators on empty directories

Creating a workdir iterator on a directory with absolutely no files was returning an error (`GIT_ENOTFOUND`) instead of an iterator for nothing. This fixes that and includes two new tests that cover that case (courtesy of @nulltoken).