# [PATCH] Fix small typo in .gitignore documentation

2 messages from 2021-03-04 to 2021-03-04. Participants: Julien Richard via GitGitGadget, Junio C Hamano.
Thread: https://gitlist.dev/t/55245

## Julien Richard via GitGitGadget, 2021-03-03 12:40

Subject: [PATCH] Fix small typo in .gitignore documentation
Message-ID: <pull.972.git.git.1614775254623.gitgitgadget@gmail.com>
URL: https://gitlist.dev/e/pull.972.git.git.1614775254623.gitgitgadget%40gmail.com

```
From: Julien Richard <julien.richard@ubisoft.com>

Signed-off-by: Julien Richard <julien.richard@ubisoft.com>
---
    Fix small typo in .gitignore documentation

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-972%2Fjairbubbles%2Ffix-small-typo-in-gitignore-documentation-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-972/jairbubbles/fix-small-typo-in-gitignore-documentation-v1
Pull-Request: https://github.com/git/git/pull/972

 Documentation/gitignore.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

base-commit: ec125d1bc1053df7e4103f71ebd24fe48dd624a2
-- 
gitgitgadget

```

## Junio C Hamano, 2021-03-04 01:16

Subject: Re: [PATCH] Fix small typo in .gitignore documentation
Message-ID: <xmqqzgzjen1m.fsf@gitster.c.googlers.com>
URL: https://gitlist.dev/e/xmqqzgzjen1m.fsf%40gitster.c.googlers.com
In-Reply-To: <pull.972.git.git.1614775254623.gitgitgadget@gmail.com>

```
"Julien Richard via GitGitGadget" <gitgitgadget@gmail.com> writes:

> 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.


```
