git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "jr via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: jr <johan@latehours.net>, Johan Ruokangas <johan@latehours.net>
Subject: [PATCH] gitignore.txt: use backticks instead of double quotes
Date: Tue, 18 Jul 2023 13:13:01 +0000	[thread overview]
Message-ID: <pull.1553.git.git.1689685982027.gitgitgadget@gmail.com> (raw)

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

             reply	other threads:[~2023-07-18 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 13:13 jr via GitGitGadget [this message]
2023-07-18 13:53 ` [PATCH] gitignore.txt: use backticks instead of double quotes Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pull.1553.git.git.1689685982027.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=johan@latehours.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).