removed unused function, we have the whole graph, so we don't need to ask git