{"thread":{"id":"64066","subject":"[PATCH] doc: fix formatting of function-wrap shell alias","startedAt":"2025-09-01T18:04:29Z","lastAt":"2025-09-02T16:24:03Z","messageCount":3,"participants":["Kyle E. Mitchell","Jean-Noël AVILA","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"525284","messageId":"20250901180419.2212086-1-kyle@kemitchell.com","threadId":"64066","inReplyTo":null,"subject":"[PATCH] doc: fix formatting of function-wrap shell alias","fromName":"Kyle E. Mitchell","fromEmail":"kyle@kemitchell.com","sentAt":"2025-09-01T18:04:18Z","receivedAt":"2025-09-01T18:04:29Z","isPatch":true,"sender":{"key":"kyle@kemitchell.com","avatar":null},"body":"Add a missed backtick to the end of a code segment so that it will be\nrendered like preceding examples.\n\nI deeply appreciate the thoroughness of this documentation.  I noticed\nthe formatting discrepancy reading https://git-scm.com/docs/git-config.\n\nSigned-off-by: Kyle E. Mitchell <kyle@kemitchell.com>\n---\n Documentation/config/alias.adoc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/config/alias.adoc b/Documentation/config/alias.adoc\nindex 2c5db0ad84..95825354bf 100644\n--- a/Documentation/config/alias.adoc\n+++ b/Documentation/config/alias.adoc\n@@ -38,6 +38,6 @@ it will be treated as a shell command.  For example, defining\n ** A convenient way to deal with this is to write your script\n    operations in an inline function that is then called with any\n    arguments from the command-line.  For example `alias.cmd = \"!c() {\n-   echo $1 | grep $2 ; }; c\" will correctly execute the prior example.\n+   echo $1 | grep $2 ; }; c\"` will correctly execute the prior example.\n ** Setting `GIT_TRACE=1` can help you debug the command being run for\n    your alias.\n-- \n2.51.0\n\n"},{"id":"525287","messageId":"2796730.mvXUDI8C0e@cayenne","threadId":"64066","inReplyTo":"20250901180419.2212086-1-kyle@kemitchell.com","subject":"Re: [PATCH] doc: fix formatting of function-wrap shell alias","fromName":"Jean-Noël AVILA","fromEmail":"jn.avila@free.fr","sentAt":"2025-09-01T19:17:25Z","receivedAt":"2025-09-01T19:26:49Z","isPatch":true,"sender":{"key":"jn.avila@free.fr","avatar":"https://avatars.githubusercontent.com/u/156172?v=4"},"body":"On Monday, 1 September 2025 20:04:18 CEST Kyle E. Mitchell wrote:\n> Add a missed backtick to the end of a code segment so that it will be\n> rendered like preceding examples.\n> \n> I deeply appreciate the thoroughness of this documentation.  I noticed\n> the formatting discrepancy reading https://git-scm.com/docs/git-config.\n> \n> Signed-off-by: Kyle E. Mitchell <kyle@kemitchell.com>\n> ---\n>  Documentation/config/alias.adoc | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/Documentation/config/alias.adoc b/Documentation/config/\nalias.adoc\n> index 2c5db0ad84..95825354bf 100644\n> --- a/Documentation/config/alias.adoc\n> +++ b/Documentation/config/alias.adoc\n> @@ -38,6 +38,6 @@ it will be treated as a shell command.  For example, \ndefining\n>  ** A convenient way to deal with this is to write your script\n>     operations in an inline function that is then called with any\n>     arguments from the command-line.  For example `alias.cmd = \"!c() {\n> -   echo $1 | grep $2 ; }; c\" will correctly execute the prior example.\n> +   echo $1 | grep $2 ; }; c\"` will correctly execute the prior example.\n>  ** Setting `GIT_TRACE=1` can help you debug the command being run for\n>     your alias.\n\nObviously correct.\n\nThanks!\n\n\n\n"},{"id":"525348","messageId":"xmqqh5xklt5r.fsf@gitster.g","threadId":"64066","inReplyTo":"2796730.mvXUDI8C0e@cayenne","subject":"Re: [PATCH] doc: fix formatting of function-wrap shell alias","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-09-02T16:24:00Z","receivedAt":"2025-09-02T16:24:03Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jean-Noël AVILA <jn.avila@free.fr> writes:\n\n> On Monday, 1 September 2025 20:04:18 CEST Kyle E. Mitchell wrote:\n>> Add a missed backtick to the end of a code segment so that it will be\n>> rendered like preceding examples.\n>> \n>> I deeply appreciate the thoroughness of this documentation.  I noticed\n>> the formatting discrepancy reading https://git-scm.com/docs/git-config.\n>> \n>> Signed-off-by: Kyle E. Mitchell <kyle@kemitchell.com>\n>> ---\n>>  Documentation/config/alias.adoc | 2 +-\n>>  1 file changed, 1 insertion(+), 1 deletion(-)\n>> \n>> diff --git a/Documentation/config/alias.adoc b/Documentation/config/\n> alias.adoc\n>> index 2c5db0ad84..95825354bf 100644\n>> --- a/Documentation/config/alias.adoc\n>> +++ b/Documentation/config/alias.adoc\n>> @@ -38,6 +38,6 @@ it will be treated as a shell command.  For example, \n> defining\n>>  ** A convenient way to deal with this is to write your script\n>>     operations in an inline function that is then called with any\n>>     arguments from the command-line.  For example `alias.cmd = \"!c() {\n>> -   echo $1 | grep $2 ; }; c\" will correctly execute the prior example.\n>> +   echo $1 | grep $2 ; }; c\"` will correctly execute the prior example.\n>>  ** Setting `GIT_TRACE=1` can help you debug the command being run for\n>>     your alias.\n>\n> Obviously correct.\n\nThanks, both of you.\n"}]}