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

[PATCH] gitignore.txt: use backticks instead of double quotes

From
JGjr via GitGitGadget <gitgitgadget@gmail.com>
Date
Jul 18, 2023, 13:13 UTC
Message-ID
<pull.1553.git.git.1689685982027.gitgitgadget@gmail.com>
From: Johan Ruokangas <johan@latehours.net>
unifies highlighting with the rest of the documentation
Signed-off-by: Johan Ruokangas <johan@latehours.net>
---
    gitignore.txt: use backticks instead of double quotes
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1553%2Fjozan%2Fbackticks-gitignore-doc-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1553/jozan/backticks-gitignore-doc-v1
Pull-Request: https://github.com/git/git/pull/1553
 Documentation/gitignore.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
index 4c17f2356c4..810041acd17 100644
--- a/Documentation/gitignore.txt
+++ b/Documentation/gitignore.txt
@@ -174,10 +174,10 @@ EXAMPLES
    is not relevant  if there is already a middle slash in
    the pattern.
 
- - The pattern "foo/*", matches "foo/test.json"
-   (a regular file), "foo/bar" (a directory), but it does not match
-   "foo/bar/hello.c" (a regular file), as the asterisk in the
-   pattern does not match "bar/hello.c" which has a slash in it.
+ - The pattern `foo/*`, matches `foo/test.json`
+   (a regular file), `foo/bar` (a directory), but it does not match
+   `foo/bar/hello.c` (a regular file), as the asterisk in the
+   pattern does not match `bar/hello.c` which has a slash in it.
 
 --------------------------------------------------------------
     $ git status

base-commit: 5e238546dc7a232d8998f1cd1ec9d3f4a0add68b
-- 
gitgitgadget
Next: Junio C Hamano
Message 1 of 2 in “gitignore.txt: use backticks instead of double quotes”
  1. gitignore.txt: use backticks instead of double quotesjr via GitGitGadget, Jul 18, 2023
  2. Junio C HamanoJul 18, 2023

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.