diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2009-01-23 10:06:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-31 17:02:59 -0700 |
commit | 292687003abcfb68d296c57d7e812b0469f74647 (patch) | |
tree | 33a749b3426d426b5db08f0b092e2192a828935a /refs.h | |
parent | f9275c68af58e0f65e1557b5109ccbfdbbbc384a (diff) | |
download | git-292687003abcfb68d296c57d7e812b0469f74647.tar.gz |
refs: add a "for_each_replace_ref" function
This is some preparation work for the following patches that are using
the "refs/replace/" ref namespace.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ extern int for_each_ref_in(const char *, each_ref_fn, void *); extern int for_each_tag_ref(each_ref_fn, void *); extern int for_each_branch_ref(each_ref_fn, void *); extern int for_each_remote_ref(each_ref_fn, void *); +extern int for_each_replace_ref(each_ref_fn, void *); /* can be used to learn about broken ref and symref */ extern int for_each_rawref(each_ref_fn, void *); |