author | Christian Couder <chriscool@tuxfamily.org> | |
Mon, 30 Mar 2009 03:07:15 +0000 (05:07 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Mar 2009 08:22:53 +0000 (01:22 -0700) | ||
commit | 2a8177b63d39503b182248b04ffcc75e3495754c | |
tree | 3aa3fa4f7fa0fc216166c1946efe1d5d33657249 | tree | snapshot |
parent | eaa759b9141f125d7e55a4b08b60497845d3c52e | commit | diff |
refs: add "for_each_ref_in" function to refactor "for_each_*_ref" functions
The "for_each_{tag,branch,remote,replace,}_ref" functions are
redefined in terms of "for_each_ref_in" so that we can lose the
hardcoded length of prefix strings from the code.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
The "for_each_{tag,branch,remote,replace,}_ref" functions are
redefined in terms of "for_each_ref_in" so that we can lose the
hardcoded length of prefix strings from the code.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
refs.c | diff | blob | history | |
refs.h | diff | blob | history |