Subject: [PATCH 0/2] reflog.c: switch to use parse-options API

From: "John Cai via GitGitGadget" <[email-masked]>
Date: Fri, 31 Dec 2021 06:29:09 +0000

Switch out manual argv parsing for the reflog expire subcommand to use the
parse-options API. This reduces code redundancy by consolidating option
parsing logic.

John Cai (2):
  builtin/reflog.c: use parse-options for expire subcommand
  builtin/reflog.c: switch to use parse-options API for delete
    subcommand

 builtin/reflog.c | 122 +++++++++++++++++++++++------------------------
 1 file changed, 60 insertions(+), 62 deletions(-)

base-commit: 55b058a8bbcc54bd93c733035c995abc7967e539
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1175%2Fjohn-cai%2Fjc%2Freflog-switch-to-option-parse-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1175/john-cai/jc/reflog-switch-to-option-parse-v1
Pull-Request: https://github.com/git/git/pull/1175
-- 
gitgitgadget