Derrick Stolee <stolee@xxxxxxxxx> writes: > I do worry about the case where annotated tags greatly outnumber > branches, so this binary search is extra overhead and the performance > may degrade. Would it be worth checking the ref to see if it lies > within "refs/heads/" (or even _not_ in "refs/tags/") before doing > this commit-graph check? Ah, clever.