All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] doc: rev-list: simple cleanups
@ 2023-03-05  1:37 Felipe Contreras
  2023-03-05  1:37 ` [PATCH 1/2] doc: rev-list: simplify escaping Felipe Contreras
  2023-03-05  1:37 ` [PATCH 2/2] doc: rev-list: simplify literals Felipe Contreras
  0 siblings, 2 replies; 3+ messages in thread
From: Felipe Contreras @ 2023-03-05  1:37 UTC (permalink / raw)
  To: git; +Cc: Matthew DeVore, Felipe Contreras

Here are some simple cleanups to the asciidoc format of
Documentation/rev-list-options.txt prompted by [1].

[1] https://lore.kernel.org/git/CAMP44s3Kqyrdavp1OiozNbA7k4EHCj0KiQq4d2Dyg_KZSEAUuQ@mail.gmail.com/

Felipe Contreras (2):
  doc: rev-list: simplify escaping
  doc: rev-list: simplify literals

 Documentation/rev-list-options.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] doc: rev-list: simplify escaping
  2023-03-05  1:37 [PATCH 0/2] doc: rev-list: simple cleanups Felipe Contreras
@ 2023-03-05  1:37 ` Felipe Contreras
  2023-03-05  1:37 ` [PATCH 2/2] doc: rev-list: simplify literals Felipe Contreras
  1 sibling, 0 replies; 3+ messages in thread
From: Felipe Contreras @ 2023-03-05  1:37 UTC (permalink / raw)
  To: git; +Cc: Matthew DeVore, Felipe Contreras

<= is substituted with the unicode ⇐, but it's not necessary to use an
HTML escape to prevent that, we can just use a blackslash.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 Documentation/rev-list-options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 0d90d5b154..84c742aaac 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -970,7 +970,7 @@ the '--filter' flag and is usually not necessary. Filters are joined by
 '{plus}' and individual filters are %-encoded (i.e. URL-encoded).
 Besides the '{plus}' and '%' characters, the following characters are
 reserved and also must be encoded: `~!@#$^&*()[]{}\;",<>?`+&#39;&#96;+
-as well as all characters with ASCII code &lt;= `0x20`, which includes
+as well as all characters with ASCII code \<= `0x20`, which includes
 space and newline.
 +
 Other arbitrary characters can also be encoded. For instance,
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] doc: rev-list: simplify literals
  2023-03-05  1:37 [PATCH 0/2] doc: rev-list: simple cleanups Felipe Contreras
  2023-03-05  1:37 ` [PATCH 1/2] doc: rev-list: simplify escaping Felipe Contreras
@ 2023-03-05  1:37 ` Felipe Contreras
  1 sibling, 0 replies; 3+ messages in thread
From: Felipe Contreras @ 2023-03-05  1:37 UTC (permalink / raw)
  To: git; +Cc: Matthew DeVore, Felipe Contreras

We don't need to put special HTML escapes for ' and `.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 Documentation/rev-list-options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 84c742aaac..df08a9e393 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -969,7 +969,7 @@ used to combined several filters, but this is harder than just repeating
 the '--filter' flag and is usually not necessary. Filters are joined by
 '{plus}' and individual filters are %-encoded (i.e. URL-encoded).
 Besides the '{plus}' and '%' characters, the following characters are
-reserved and also must be encoded: `~!@#$^&*()[]{}\;",<>?`+&#39;&#96;+
+reserved and also must be encoded: `~!@#$^&*()[]{}\;",<>?'``
 as well as all characters with ASCII code \<= `0x20`, which includes
 space and newline.
 +
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-05  1:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-05  1:37 [PATCH 0/2] doc: rev-list: simple cleanups Felipe Contreras
2023-03-05  1:37 ` [PATCH 1/2] doc: rev-list: simplify escaping Felipe Contreras
2023-03-05  1:37 ` [PATCH 2/2] doc: rev-list: simplify literals Felipe Contreras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.