diff options
author | Carlos MartÃn Nieto <cmn@dwim.me> | 2013-11-02 14:07:02 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-11-05 14:58:16 +0100 |
commit | 8ec889a45fded32bf8508f99d77ea666d0aacdd5 (patch) | |
tree | e78e392f1c3d3f05cd1620a6cc3ffbe5c87f158b /tests/diff/diffiter.c | |
parent | b7fbfbb21f4248bf4103a2c13479bf65ba175f36 (diff) | |
download | libgit2-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