revision.c: use refs_for_each*() instead of for_each_*_submodule()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
62f0b399e0
commit
073cf63c52
6
refs.h
6
refs.h
@ -291,6 +291,9 @@ int refs_for_each_remote_ref(struct ref_store *refs,
|
||||
int head_ref(each_ref_fn fn, void *cb_data);
|
||||
int for_each_ref(each_ref_fn fn, void *cb_data);
|
||||
int for_each_ref_in(const char *prefix, each_ref_fn fn, void *cb_data);
|
||||
int refs_for_each_fullref_in(struct ref_store *refs, const char *prefix,
|
||||
each_ref_fn fn, void *cb_data,
|
||||
unsigned int broken);
|
||||
int for_each_fullref_in(const char *prefix, each_ref_fn fn, void *cb_data,
|
||||
unsigned int broken);
|
||||
int for_each_tag_ref(each_ref_fn fn, void *cb_data);
|
||||
@ -306,9 +309,6 @@ int for_each_ref_submodule(const char *submodule,
|
||||
each_ref_fn fn, void *cb_data);
|
||||
int for_each_ref_in_submodule(const char *submodule, const char *prefix,
|
||||
each_ref_fn fn, void *cb_data);
|
||||
int for_each_fullref_in_submodule(const char *submodule, const char *prefix,
|
||||
each_ref_fn fn, void *cb_data,
|
||||
unsigned int broken);
|
||||
int for_each_tag_ref_submodule(const char *submodule,
|
||||
each_ref_fn fn, void *cb_data);
|
||||
int for_each_branch_ref_submodule(const char *submodule,
|
||||
|
Reference in New Issue
Block a user