Commit 8ec889a45fded32bf8508f99d77ea666d0aacdd5

Carlos Martín Nieto 2013-11-02T14:07:02

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.