revwalk.c
19.7 KB
-
revwalk: use merge bases to speed up processing · 2c4ef1dd
There is no need walk down the parents of a merge base to mark them as uninteresting because we'll never see them. Calculate the merge bases in prepare_walk() so mark_uninteresting() can stop at a merge base instead of walking all the way to the root.
Carlos Martín Nieto committed