summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-08-20 18:24:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-21 17:22:50 (GMT)
commit212e0f7efe163d062dcd393a0788cf3f93544a6e (patch)
tree27a44ad4741b9d0b6ee56713a99affdc764bfaf2 /refs.h
parent4a6067cda51b592871144eb050d4673db9ad5103 (diff)
downloadgit-212e0f7efe163d062dcd393a0788cf3f93544a6e.zip
git-212e0f7efe163d062dcd393a0788cf3f93544a6e.tar.gz
git-212e0f7efe163d062dcd393a0788cf3f93544a6e.tar.bz2
refs.c: upgrade for_each_replace_ref to be a each_repo_ref_fn callback
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index 80eec8b..a0a1822 100644
--- a/refs.h
+++ b/refs.h
@@ -317,7 +317,7 @@ int for_each_fullref_in(const char *prefix, each_ref_fn fn, void *cb_data,
int for_each_tag_ref(each_ref_fn fn, void *cb_data);
int for_each_branch_ref(each_ref_fn fn, void *cb_data);
int for_each_remote_ref(each_ref_fn fn, void *cb_data);
-int for_each_replace_ref(struct repository *r, each_ref_fn fn, void *cb_data);
+int for_each_replace_ref(struct repository *r, each_repo_ref_fn fn, void *cb_data);
int for_each_glob_ref(each_ref_fn fn, const char *pattern, void *cb_data);
int for_each_glob_ref_in(each_ref_fn fn, const char *pattern,
const char *prefix, void *cb_data);