]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ab/reflog-prep'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Jan 2022 19:52:52 +0000 (11:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jan 2022 19:52:52 +0000 (11:52 -0800)
commit626f2cabe609ce5f186c3ab4c13133c4f3011f01
tree6013326deeab4a2d5812d8684ac05ddb25a110fa
parent8ab404ea0463c99fc85095e0419ed08a1486ae92
parentfcd2c3d9d854712e7fbb8e7be5a809029aab0a84
Merge branch 'ab/reflog-prep'

Code refactoring in the reflog part of refs API.

* ab/reflog-prep:
  reflog + refs-backend: move "verbose" out of the backend
  refs files-backend: assume cb->newlog if !EXPIRE_REFLOGS_DRY_RUN
  reflog: reduce scope of "struct rev_info"
  reflog expire: don't use lookup_commit_reference_gently()
  reflog expire: refactor & use "tip_commit" only for UE_NORMAL
  reflog expire: use "switch" over enum values
  reflog: change one->many worktree->refnames to use a string_list
  reflog expire: narrow scope of "cb" in cmd_reflog_expire()
  reflog delete: narrow scope of "cmd" passed to count_reflog_ent()
refs/files-backend.c