aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-01-10 11:52:52 -0800
committerJunio C Hamano <gitster@pobox.com>2022-01-10 11:52:52 -0800
commit626f2cabe609ce5f186c3ab4c13133c4f3011f01 (patch)
tree6013326deeab4a2d5812d8684ac05ddb25a110fa /refs.h
parent8ab404ea0463c99fc85095e0419ed08a1486ae92 (diff)
parentfcd2c3d9d854712e7fbb8e7be5a809029aab0a84 (diff)
downloadgit-626f2cabe609ce5f186c3ab4c13133c4f3011f01.tar.xz
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()
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/refs.h b/refs.h
index 92360e55a2..8f91a7f9ff 100644
--- a/refs.h
+++ b/refs.h
@@ -820,8 +820,7 @@ enum ref_type ref_type(const char *refname);
enum expire_reflog_flags {
EXPIRE_REFLOGS_DRY_RUN = 1 << 0,
EXPIRE_REFLOGS_UPDATE_REF = 1 << 1,
- EXPIRE_REFLOGS_VERBOSE = 1 << 2,
- EXPIRE_REFLOGS_REWRITE = 1 << 3
+ EXPIRE_REFLOGS_REWRITE = 1 << 2,
};
/*