diff options
author | René Scharfe <l.s.r@web.de> | 2023-09-02 20:38:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-05 14:58:44 -0700 |
commit | 078c42531e8d6e8c7bfaa1a52dca330f0eef5d94 (patch) | |
tree | 9a1e003950b6a413bd12a4e0edf377cc0a1f40dc /cache-tree.c | |
parent | 43c8a30d150ecede9709c1f2527c8fba92c65f40 (diff) |
name-rev: use OPT_HIDDEN_BOOL for --peel-tag
adfc1857bd (describe: fix --contains when a tag is given as input,
2013-07-18) added the option --peel-tag, defining it using a positional
struct option initializer and a comment indicating that it's intended to
be a hidden OPT_BOOL. 4741edd549 (Remove deprecated OPTION_BOOLEAN for
parsing arguments, 2013-08-03) added the macro OPT_HIDDEN_BOOL, which
allows to express this more succinctly. Use it.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions