libgit2/libgit2 — pull request #709 by arrbee (2012-05-17 21:33:33+00:00)
Title: Profiling with scottg

This has some performance improvements for diff. In total, it contains:

* Set up a CMake option for profiling (that doesn't work quite right, but helps do profile builds)
* Fixes the examples programs so they can be compiled
* Creates an optimized method for binary detection in diffs (top gprof result)
* Makes `git_buf_oom` an inline-able function since that is also called a lot

Commit b59c73d3 is the main thing that Scott and I worked on together.

I'm not 100% certain if you'll want to merge this is or not, but I thought I'd at least put it out there.