aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/log.c
diff options
context:
space:
mode:
authorKristoffer Haugsbakk <code@khaugsbakk.name>2025-12-02 16:56:51 +0100
committerJunio C Hamano <gitster@pobox.com>2025-12-03 00:16:05 -0800
commitb14f1df9f26cf87856cf6767847ccb4a5b31499b (patch)
tree63386d7b400f4f381baf7109295fb71c13b6976c /builtin/log.c
parentf0ef5b6d9bcc258e4cbef93839d1b7465d5212b9 (diff)
downloadgit-b14f1df9f26cf87856cf6767847ccb4a5b31499b.tar.gz
branch: advice using git-help(1) instead of man(1)
8fbd903e (branch: advise about ref syntax rules, 2024-03-05) added an advice about checking git-check-ref-format(1) for the ref syntax rules. The advice uses man(1). But git(1) is a multi-platform tool and man(1) may not be available on some platforms. It might also be slightly jarring to see a suggestion for running a command which is not from the Git suite. Let’s instead use git-help(1) in order to stay inside the land of git(1). This also means that `help.format` (for `man`, `html` or other formats) will be used if set. Also change to using single quotes (') to quote the command since that is more conventional. While here let’s also update the test to use `{SQ}`, which is more readable and easier to edit. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
0 files changed, 0 insertions, 0 deletions