summaryrefslogtreecommitdiff
path: root/test-sha1.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2016-06-18 06:15:19 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-20 11:38:21 -0700
commit2880d16f09635f9d43247b27fd7e6508b992e599 (patch)
treea26e3e7b2a9cab8e909bb6279cba682f187e09cb /test-sha1.c
parentdir_iterator: new API for iterating over a directory tree (diff)
downloadtgif-2880d16f09635f9d43247b27fd7e6508b992e599.tar.xz
for_each_reflog(): reimplement using iterators
Allow references with reflogs to be iterated over using a ref_iterator. The latter is implemented as a files_reflog_iterator, which in turn uses dir_iterator to read the "logs" directory. Note that reflog iteration doesn't correctly handle per-worktree reflogs (either before or after this patch). Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-sha1.c')
0 files changed, 0 insertions, 0 deletions