]> git.99rst.org Git - git.git/commit
builtin/reflog.c: fix dry-run option short name
authorJosh Brobst <redacted>
Sun, 26 Nov 2023 00:05:14 +0000 (19:05 -0500)
committerJunio C Hamano <redacted>
Sun, 26 Nov 2023 00:35:42 +0000 (09:35 +0900)
commitcbf498eb534c5a41c2c4fa5681d18e22d93b8fb4
tree170d15b93dd0a0c7de0889d0a380da63e66821b9
parent33d7bdd64592d6dc86583a817719f91d7344e958
builtin/reflog.c: fix dry-run option short name

The documentation for reflog states that the --dry-run option of the
expire and delete subcommands has a corresponding short name, -n.
However, 33d7bdd645 (builtin/reflog.c: use parse-options api for expire,
delete subcommands, 2022-01-06) did not include this short name in the
new options parsing.

Re-add the short name in the new dry-run option definitions.

Signed-off-by: Josh Brobst <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/reflog.c
git clone https://git.99rst.org/PROJECT