Skip to content

Commit 2f4bf83

Browse files
kemitchellgitster
authored andcommitted
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 <[email protected]> Acked-by: Jean-Noël AVILA <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47243ee commit 2f4bf83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/config/alias.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ it will be treated as a shell command. For example, defining
3838
** A convenient way to deal with this is to write your script
3939
operations in an inline function that is then called with any
4040
arguments from the command-line. For example `alias.cmd = "!c() {
41-
echo $1 | grep $2 ; }; c" will correctly execute the prior example.
41+
echo $1 | grep $2 ; }; c"` will correctly execute the prior example.
4242
** Setting `GIT_TRACE=1` can help you debug the command being run for
4343
your alias.

0 commit comments

Comments
 (0)