Man, I wrote a `git_iterator_coiterator()` function at one point (never pushed) that is the mirror image of this code, without the clever "check for differences on the fly" that you have in the `path_diff == 0` case. Looks great to me (but I'm totally biased).