# [PATCH 0/2] doc: rev-list: simple cleanups

3 messages from 2023-03-05 to 2023-03-05. Participants: Felipe Contreras.
Thread: https://gitlist.dev/t/59345

## Felipe Contreras, 2023-03-05 01:37

Subject: [PATCH 0/2] doc: rev-list: simple cleanups
Message-ID: <20230305013758.344573-1-felipe.contreras@gmail.com>
URL: https://gitlist.dev/e/20230305013758.344573-1-felipe.contreras%40gmail.com

```
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


```

## Felipe Contreras, 2023-03-05 01:37

Subject: [PATCH 1/2] doc: rev-list: simplify escaping
Message-ID: <20230305013758.344573-2-felipe.contreras@gmail.com>
URL: https://gitlist.dev/e/20230305013758.344573-2-felipe.contreras%40gmail.com
In-Reply-To: <20230305013758.344573-1-felipe.contreras@gmail.com>

```
<= 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


```

## Felipe Contreras, 2023-03-05 01:37

Subject: [PATCH 2/2] doc: rev-list: simplify literals
Message-ID: <20230305013758.344573-3-felipe.contreras@gmail.com>
URL: https://gitlist.dev/e/20230305013758.344573-3-felipe.contreras%40gmail.com
In-Reply-To: <20230305013758.344573-1-felipe.contreras@gmail.com>

```
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


```
