summaryrefslogtreecommitdiff
path: root/src/userdiff.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-08 17:14:48 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-10-08 17:14:48 +0200
commit9b5d6cea4aba38a58233a93fde2d0ffd6945f171 (patch)
tree3e32cdc588b547501b3c73b520b7887a8cf7557d /src/userdiff.h
parente7970576f1bcef1561813dbef339a31efabdc9b1 (diff)
downloadlibgit2-9b5d6cea4aba38a58233a93fde2d0ffd6945f171.tar.gz
revwalk: catch no-push and no-hide cases
If there have been no pushes, we can immediately return ITEROVER. If there have been no hides, we must not run the uninteresting pre-mark phase, as we do not want to hide anything and this would simply cause us to spend time loading objects.
Diffstat (limited to 'src/userdiff.h')
0 files changed, 0 insertions, 0 deletions