Merge branch 'ab/reflog-parse-options'
commit3ff8cbfe8a333f55931fa9b588f106e060a67079
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Apr 2022 17:56:21 +0000 (4 10:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Apr 2022 17:56:21 +0000 (4 10:56 -0700)
treed4096bb40c2513a46d6dfd4ecbbbe219c158a683
parent4b6846d9dcd391164b72bd70e8a0c0e09776afe3
parent840344db7578a794fd25c44587e4a08dfe4f41cc
Merge branch 'ab/reflog-parse-options'

"git reflog" command now uses parse-options API to parse its
command line options.

* ab/reflog-parse-options:
  reflog: fix 'show' subcommand's argv
  reflog [show]: display sensible -h output
  reflog: convert to parse_options() API
  reflog exists: use parse_options() API
  git reflog [expire|delete]: make -h output consistent with SYNOPSIS
  reflog: move "usage" variables and use macros
  reflog tests: add missing "git reflog exists" tests
  reflog: refactor cmd_reflog() to "if" branches
  reflog.c: indent argument lists
reflog.c
t/t1410-reflog.sh
t/test-lib-functions.sh