libgit2/libgit2 — pull request #814 by nulltoken (2012-07-11 23:00:40+00:00)
Title: Revparse refactoring: a start

I still have got some revparse use cases that aren't supported with the current implementation.

However, I'm not sure I'll be able to make them pass with only slight code alterations.

In order to ease this future task, I've decided to start extracting reusable blocks of logic from revparse. Below my first two attempts:

- git_commit_nth_gen_ancestor()
- git_reference_remote_tracking_from_branch()