The diff stuff (working tree to index and index to tree) of libgit2 looks quite stable, I think we should look into it in order to build the CTGitPathList for GitStatusListCtrl (Commit, Diff dialog and working tree changes in log dialog).
But that's another issue.