libgit2/libgit2 — pull request #626 by arrbee (2012-04-13 20:51:40+00:00)
Title: Clean up win64 builds

The goal of this PR was to clean up the windows 64-bit build warnings. In doing so, however, it ended up making sense to make a few other changes. So, what is in this PR?

* Clean up all warnings on Windows 64-bit builds with MSVC 10 Win64 build target except in `deps/regex`
* Move to the latest version of clar and switch all the `cl_assert_strequal` calls to `cl_assert_equal_s`
* Delete the old status implementation (instead of cleaning up the 64-bit warnings in it)
* Add a new function `git_reference_lookup_resolved` that looks up by name and resolves to OID in a single call. This kind of does for `git_reference_lookup` and `git_reference_resolve` what was done to open/discover by `git_repository_open_ext`.
* Convert a number of places that used to have reference lookup/resolve pairs to use single calls to the new function.

As you can tell, there was a bit of creeping scope here (i.e. commit b51abc07 which adds the new reference function could be separated, probably) but I think it mostly makes sense.