]> git.ipfire.org Git - thirdparty/git.git/commit
refs: document callback for reflog-ent iterators
authorJunio C Hamano <gitster@pobox.com>
Sun, 28 Nov 2021 19:25:35 +0000 (11:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Nov 2021 19:29:33 +0000 (11:29 -0800)
commite6e94f34b28e52e31436c79d94511ed78050042f
tree2a1ac517b01444f3e215a60c2717db7955586cb4
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb
refs: document callback for reflog-ent iterators

refs_for_each_reflog_ent() and refs_for_each_reflog_ent_reverse()
functions take a callback function that gets called with the details
of each reflog entry.  Its parameters were not documented beyond
their names.  Elaborate a bit on each of them.

Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.h