]> Kevux Git Server - rit/commit
gitcli: drop mention of “non-dashed form”
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Fri, 1 Mar 2024 18:05:53 +0000 (19:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Mar 2024 18:45:01 +0000 (10:45 -0800)
commit7a96b75e05953d377b42b01e171f884357772611
treea4220a06fc401057beab343fb4c62d98f11cc8a9
parent0f9d4d28b7e6021b7e6db192b7bf47bd3a0d0d1d
gitcli: drop mention of “non-dashed form”

Git builtins used to be called like e.g. `git-commit`, not `git
commit` (*dashed form* and *non-dashed form*, respectively). The dashed
form was deprecated in version 1.5.4 (2006). Now only a few commands
have an alternative dashed form when `SKIP_DASHED_BUILT_INS` is
active.[1]

The mention here is from 2f7ee089dff (parse-options: Add a gitcli(5) man
page., 2007-12-13), back when the deprecation was relatively
recent. These days though it seems like an irrelevant point to make to
budding CLI scripters—you don’t have to warn against a style that
probably doesn’t even work on their git(1) installation.

† 1: 179227d6e21 (Optionally skip linking/copying the built-ins,
    2020-09-21)

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitcli.txt