summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-11-02 14:07:02 +0100
committerVicent Marti <tanoku@gmail.com>2013-11-05 14:58:16 +0100
commit8ec889a45fded32bf8508f99d77ea666d0aacdd5 (patch)
treee78e392f1c3d3f05cd1620a6cc3ffbe5c87f158b /tests/diff/diffiter.c
parentb7fbfbb21f4248bf4103a2c13479bf65ba175f36 (diff)
downloadlibgit2-8ec889a45fded32bf8508f99d77ea666d0aacdd5.tar.gz
branch: move from foreach to an iterator
Create a git_branch_iterator type which is equivalent to the foreach but lets us write loops instead of callbacks. Since the introduction of git_reference_shorthand(), the added value of passing the name is reduced.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions