libgit2/libgit2 — pull request #2381 by ecoffey (2014-05-22 23:25:28+00:00)
Title: Add support for --author flag in example log implementation

Add the simplest possible form of `--author` using `strstr`.

I attempted to match style as best I could according to the guidelines.

Also to me it makes sense to not bump counters for skip and limit if the commit doesn't match the filters.

Thanks for the well documented project, and the fun examples to help extend!