]> git.ipfire.org Git - thirdparty/git.git/commit
doc: add information regarding external commands
authorOmri Sarig <omri.sarig13@gmail.com>
Wed, 4 Mar 2026 15:03:34 +0000 (15:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Mar 2026 17:21:22 +0000 (09:21 -0800)
commit9c6569a8951d01363ec1e866a3b0711dbcaedcef
tree59ec5868a3efc9301c77f20a3214b18f50a2f1d5
parent67ad42147a7acc2af6074753ebd03d904476118f
doc: add information regarding external commands

Git supports running external commands in the user's PATH as if they
were built-in commands (see execv_dashed_external in git.c).

This feature was not fully documented in Git's user-facing
documentation.

Add a short documentation to describe how PATH is used to find a custom
subcommand.

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.adoc