git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-show-ref: fix escaping in asciidoc source

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Nov 15, 2011, 14:11 UTC
Message-ID
<4EC27328.3070309@alum.mit.edu>
In-Reply-To
<1319050336-24717-1-git-send-email-mhagger@alum.mit.edu>
Junio,
Did this one fall through the cracks?  I don't see it in your tree.
Michael
On 10/19/2011 08:52 PM, mhagger@alum.mit.edu wrote:
Show 31 quoted lines
> From: Michael Haggerty <mhagger@alum.mit.edu>
> 
> One of the "^" characters was not coming through in the man page.
> 
> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
> ---
>  Documentation/git-show-ref.txt |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt
> index 3c45895..87f358d 100644
> --- a/Documentation/git-show-ref.txt
> +++ b/Documentation/git-show-ref.txt
> @@ -44,7 +44,7 @@ OPTIONS
>  -d::
>  --dereference::
>  
> -	Dereference tags into object IDs as well. They will be shown with "^{}"
> +	Dereference tags into object IDs as well. They will be shown with "{caret}\{\}"
>  	appended.
>  
>  -s::
> @@ -75,7 +75,7 @@ OPTIONS
>  	Make 'git show-ref' act as a filter that reads refs from stdin of the
>  	form "^(?:<anything>\s)?<refname>(?:{backslash}{caret}\{\})?$"
>  	and performs the following actions on each:
> -	(1) strip "^{}" at the end of line if any;
> +	(1) strip "{caret}\{\}" at the end of line if any;
>  	(2) ignore if pattern is provided and does not head-match refname;
>  	(3) warn if refname is not a well-formed refname and skip;
>  	(4) ignore if refname is a ref that exists in the local repository;
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “git-show-ref: fix escaping in asciidoc source”
  1. git-show-ref: fix escaping in asciidoc sourcemhagger@alum.mit.edu, Oct 19, 2011
  2. Junio C HamanoOct 19, 2011
  3. Michael HaggertyNov 15, 2011
  4. Junio C HamanoNov 15, 2011
  5. Michael HaggertyNov 16, 2011
  6. Michael HaggertyNov 16, 2011
  7. Thomas RastNov 16, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.