iterator.c
3.68 KB
-
branch: move from foreach to an iterator · 8ec889a4
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.
Carlos Martín Nieto committed