diff options
| author | Kyle E. Mitchell <kyle@kemitchell.com> | 2025-09-01 11:04:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-02 09:25:21 -0700 |
| commit | 2f4bf83ffc4ffd0a9ed13121d712beb4c1b9f276 (patch) | |
| tree | 3a9ee5440151e0c25c7c7f3fdbf48f7ad14558b8 /Documentation/config | |
| parent | 47243eeed1749662e7c62d879d451a9383a25158 (diff) | |
| download | git-2f4bf83ffc4ffd0a9ed13121d712beb4c1b9f276.tar.xz | |
doc: fix formatting of function-wrap shell alias
Add a missed backtick to the end of a code segment so that it will be
rendered like preceding examples.
I deeply appreciate the thoroughness of this documentation. I noticed
the formatting discrepancy reading https://git-scm.com/docs/git-config.
Signed-off-by: Kyle E. Mitchell <kyle@kemitchell.com>
Acked-by: Jean-Noël AVILA <avila.jn@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
| -rw-r--r-- | Documentation/config/alias.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/config/alias.adoc b/Documentation/config/alias.adoc index 2c5db0ad84..95825354bf 100644 --- a/Documentation/config/alias.adoc +++ b/Documentation/config/alias.adoc @@ -38,6 +38,6 @@ it will be treated as a shell command. For example, defining ** A convenient way to deal with this is to write your script operations in an inline function that is then called with any arguments from the command-line. For example `alias.cmd = "!c() { - echo $1 | grep $2 ; }; c" will correctly execute the prior example. + echo $1 | grep $2 ; }; c"` will correctly execute the prior example. ** Setting `GIT_TRACE=1` can help you debug the command being run for your alias. |
