summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-index.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-22 05:06:48 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-22 16:24:14 -0800
commitfcd2c3d9d854712e7fbb8e7be5a809029aab0a84 (patch)
tree3a41f4710f82357dc94db2528f7e7886fdcf2552 /Documentation/technical/api-index.sh
parentrefs files-backend: assume cb->newlog if !EXPIRE_REFLOGS_DRY_RUN (diff)
downloadtgif-fcd2c3d9d854712e7fbb8e7be5a809029aab0a84.tar.xz
reflog + refs-backend: move "verbose" out of the backend
Move the handling of the "verbose" flag entirely out of "refs/files-backend.c" and into "builtin/reflog.c". This allows the backend to stop knowing about the EXPIRE_REFLOGS_VERBOSE flag. The expire_reflog_ent() function shouldn't need to deal with the implementation detail of whether or not we're emitting verbose output, by doing this the --verbose output becomes backend-agnostic, so reftable will get the same output. I think the output is rather bad currently, and should e.g. be implemented with some better future mode of progress.[ch], but that's a topic for another improvement. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-index.sh')
0 files changed, 0 insertions, 0 deletions