threads / patch / 55245

patchFix small typo in .gitignore documentation

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

## tl;dr

2 messages between Mar 4, 2021 and Mar 4, 2021. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Julien Richard via GitGitGadget· Mar 3, 2021, 12:40 UTC · lore
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(-)
Show changes to Documentation/gitignore.txt +1 −1
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· Mar 4, 2021, 01:16 UTC · re: Julien Richard via GitGitGadget · lore

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

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

← back to recent threads