summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-03-03 16:43:24 +0100
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-04-12 20:25:25 +0200
commit2c4ef1dd0da560e91b6440aa430537b98e8345dc (patch)
tree6c7477e6f53592baa893f2e8fb8fb409f2be066b /src/commit.c
parentde7ab85dc614ba702a89f3f0c761c68ee1e00fda (diff)
downloadlibgit2-2c4ef1dd0da560e91b6440aa430537b98e8345dc.tar.gz
revwalk: use merge bases to speed up processing
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions