summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorKristoffer Haugsbakk <code@khaugsbakk.name>2025-09-17 22:24:12 +0200
committerJunio C Hamano <gitster@pobox.com>2025-09-17 13:47:22 -0700
commit5f31632ed7d8c2928b5cdd7a1358367415d24535 (patch)
treeddea4f94736b117fd0a2c1ded975766d1dfea103 /diff.h
parent29fe658ffbd40e6f0343728a978c215fc1e1d11a (diff)
git: add `deprecated` category to --list-cmds
With 145 builtin commands (according to `git --list-cmds=builtins`), users are probably not keeping on top of which ones (if any) are deprecated. Let’s expand the experimental `--list-cmds`[1] to allow users and programs to query for this information. We will also use this in an upcoming commit to implement `is_deprecated_command`. [1]: Using something which is experimental to query for deprecations is perhaps not the most ideal approach, but it is simple to implement and better than having to scan the documentation Acked-by: Patrick Steinhardt <ps@pks.im> Helped-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions