summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorLibravatar John Cai <johncai86@gmail.com>2022-01-06 19:06:21 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-10 14:13:06 -0800
commit33d7bdd64592d6dc86583a817719f91d7344e958 (patch)
treed22f27b5e7deed9f35db743c54d7d58d3b27aae9 /builtin/add.c
parentMerge branch 'ab/reflog-prep' into jc/reflog-parse-options (diff)
downloadtgif-33d7bdd64592d6dc86583a817719f91d7344e958.tar.xz
builtin/reflog.c: use parse-options api for expire, delete subcommands
Switching out manual arg parsing for the parse-options API for the expire and delete subcommands. Move explicit_expiry flag into cmd_reflog_expire_cb struct so callbacks can set both the value of the timestamp as well as the explicit_expiry flag. Signed-off-by: "John Cai" <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions