git/refs
Ævar Arnfjörð Bjarmason 7c28875bcd refs files-backend: assume cb->newlog if !EXPIRE_REFLOGS_DRY_RUN
It's not possible for "cb->newlog" to be NULL if
!EXPIRE_REFLOGS_DRY_RUN, since files_reflog_expire() would have
error()'d and taken the "goto failure" branch if it couldn't open the
file. By not using the "newlog" field private to "file-backend.c"'s
"struct expire_reflog_cb", we can move this verbosity logging to
"builtin/reflog.c" in a subsequent commit.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-12-22 16:24:14 -08:00
..
debug.c Merge branch 'hn/reflog-tests' 2021-12-15 09:39:49 -08:00
files-backend.c refs files-backend: assume cb->newlog if !EXPIRE_REFLOGS_DRY_RUN 2021-12-22 16:24:14 -08:00
iterator.c use CALLOC_ARRAY 2021-03-13 16:00:09 -08:00
packed-backend.c Merge branch 'hn/create-reflog-simplify' 2021-12-10 14:35:13 -08:00
packed-backend.h refs: plumb repo into ref stores 2021-10-08 15:06:05 -07:00
ref-cache.c Merge branch 'jt/no-abuse-alternate-odb-for-submodules' 2021-10-25 16:06:56 -07:00
ref-cache.h Merge branch 'jt/no-abuse-alternate-odb-for-submodules' 2021-10-25 16:06:56 -07:00
refs-internal.h Merge branch 'hn/create-reflog-simplify' 2021-12-10 14:35:13 -08:00