refs_ref_iterator_begin(): new function
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 20 Mar 2017 16:33:08 +0000 (17:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Apr 2017 10:54:31 +0000 (03:54 -0700)
commite121b9cb5f358c9779e02a2bf96fc545a896ab13
tree0ed10b75766e68dc634ea4f148a796d41a44ff6b
parent470be518623b0ca7a30bdb1fcef483f63a8e72ec
refs_ref_iterator_begin(): new function

Extract a new function from `do_for_each_ref()`. It will be useful
elsewhere.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs/refs-internal.h