diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-17 19:08:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-17 18:03:12 -0700 |
commit | a34393f5f8152ad8bdbf15bccffc2be12a9a19ca (patch) | |
tree | de26ab22e6c79cb3fb8b39b9e7a402114f4a8635 /notes-utils.c | |
parent | git reflog [expire|delete]: make -h output consistent with SYNOPSIS (diff) | |
download | tgif-a34393f5f8152ad8bdbf15bccffc2be12a9a19ca.tar.xz |
reflog exists: use parse_options() API
Change the "reflog exists" command added in afcb2e7a3b8 (git-reflog:
add exists command, 2015-07-21) to use parse_options() instead of its
own custom command-line parser. This continues work started in
33d7bdd6459 (builtin/reflog.c: use parse-options api for expire,
delete subcommands, 2022-01-06).
As a result we'll understand the --end-of-options synonym for "--", so
let's test for that.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-utils.c')
0 files changed, 0 insertions, 0 deletions