summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-04-16 11:58:46 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-04-25 12:45:03 +0200
commit2e3a0055d136d13fba365bf2a26638f84bd32d02 (patch)
tree0375d907fc75bf06ed377576b047e2536dc4288e /src/commit.c
parentbf4ef0c567c3add37aa1744467692c49a534d264 (diff)
downloadlibgit2-2e3a0055d136d13fba365bf2a26638f84bd32d02.tar.gz
revwalk: return GIT_EREVWALKER earlier if no references were pushed
In the case that walk->one is NULL, we know that we have no positive references, so we already know that the revwalk is over.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions