git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitignore.txt: mark up explanation of patterns consistently
@ 2023-07-18 17:47 Junio C Hamano
  0 siblings, 0 replies; only message in thread
From: Junio C Hamano @ 2023-07-18 17:47 UTC (permalink / raw)
  To: git

In the "PATTERN FORMAT" section, all the other pattern elements are
shown as `monospace` literals inside "double quoted" strings.  Do
the same for the explanation of a slash to make it consistent.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/gitignore.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
index 4c17f2356c..bf2d823c94 100644
--- a/Documentation/gitignore.txt
+++ b/Documentation/gitignore.txt
@@ -88,7 +88,7 @@ PATTERN FORMAT
    Put a backslash ("`\`") in front of the first "`!`" for patterns
    that begin with a literal "`!`", for example, "`\!important!.txt`".
 
- - The slash '/' is used as the directory separator. Separators may
+ - The slash "`/`" is used as the directory separator. Separators may
    occur at the beginning, middle or end of the `.gitignore` search pattern.
 
  - If there is a separator at the beginning or middle (or both) of the
-- 
2.41.0-376-gcba07a324d


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-18 17:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 17:47 [PATCH] gitignore.txt: mark up explanation of patterns consistently Junio C Hamano

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