libgit2/libgit2 — pull request #632 by arrbee (2012-04-17 17:59:07+00:00)
Title: Code clean up, including fixing warnings on Windows 64-bit build

I started out to clean up the windows 64-bit build warnings. In doing so, however, it ended up making sense to clean up a bunch of other things as well. So, what is in this PR?

* Remove old `git_status_foreach` implementation (so I don't have to clean it up for win64)
* Convert to latest clar and remove old helper code (so I don't have to clean it up for win64)
* Add `git_reference_lookup_oid` and related reference functions, and use as appropriate
* Clean up all warnings on Windows 64-bit builds for MSVC 10 Win64 build target (except for deps/regex which I didn't want to mess with)

This is a rebased version of an earlier PR with a cleaned up history.