WIP - does not compile due to changes in Git 1.8.0 graph.h