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

Re: [PATCH] Fix small typo in .gitignore documentation

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 4, 2021, 01:16 UTC
Message-ID
<xmqqzgzjen1m.fsf@gitster.c.googlers.com>
In-Reply-To
<pull.972.git.git.1614775254623.gitgitgadget@gmail.com>
"Julien Richard via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 13 quoted lines
> diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
> index d47b1ae29637..5751603b13f4 100644
> --- a/Documentation/gitignore.txt
> +++ b/Documentation/gitignore.txt
> @@ -153,7 +153,7 @@ EXAMPLES
>  --------
>  
>   - The pattern `hello.*` matches any file or folder
> -   whose name begins with `hello`. If one wants to restrict
> +   whose name begins with `hello.`. If one wants to restrict
>     this only to the directory and not in its subdirectories,
>     one can prepend the pattern with a slash, i.e. `/hello.*`;
>     the pattern now matches `hello.txt`, `hello.c` but not
Thanks, will queue.
Previous: Julien Richard via GitGitGadget
Message 2 of 2 in “Fix small typo in .gitignore documentation”
  1. Fix small typo in .gitignore documentationJulien Richard via GitGitGadget, Mar 3, 2021
  2. Junio C HamanoMar 4, 2021

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.