Skip to contentSkip to conversation

git-clone doc: fix indentation

PATCH In review Martin Ågren 2 participants 2 messages Mar 10, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-clone doc: fix indentation

Commit bc26f7690a (clone: make it possible to specify --tags, 2025-02-06) added a new paragraph in the middle of this list item. By adding an empty line rather than using a list continuation, we broke the list continuation, with the new paragraph ending up funnily indented.

Restore the chain of list continuations.

---
Based immediately on top of bc26f7690a. Could equally well be queued onto some later point, modifying git-clone.adoc instead of .txt.

 Documentation/git-clone.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/git-clone.txt +3 -3
index 8d0476f6dc..ebfb608885 100644
@@ -279,9 +279,9 @@ corresponding `--mirror` and `--no-tags` options instead.
 	`remote.<remote>.tagOpt=--no-tags` configuration. This ensures that
 	future `git pull` and `git fetch` won't follow any tags. Subsequent
 	explicit tag fetches will still work (see linkgit:git-fetch[1]).
-
-	By default, tags are cloned and passing `--tags` is thus typically a
-	no-op, unless it cancels out a previous `--no-tags`.
++
+By default, tags are cloned and passing `--tags` is thus typically a
+no-op, unless it cancels out a previous `--no-tags`.
 +
 Can be used in conjunction with `--single-branch` to clone and
 maintain a branch with no references other than a single cloned
Signature · 1 line
2.49.0.rc1.472.g01f2b84529
#1 lore raw
Quoted 22 lines · Martin Ågren

Commit bc26f7690a (clone: make it possible to specify --tags, 2025-02-06) added a new paragraph in the middle of this list item. By adding an empty line rather than using a list continuation, we broke the list continuation, with the new paragraph ending up funnily indented.

Restore the chain of list continuations.

---
Based immediately on top of bc26f7690a. Could equally well be queued onto some later point, modifying git-clone.adoc instead of .txt.

 Documentation/git-clone.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/git-clone.txt +0 -0
index 8d0476f6dc..ebfb608885 100644
@@ -279,9 +279,9 @@ corresponding `--mirror` and `--no-tags` options instead.
 	`remote.<remote>.tagOpt=--no-tags` configuration. This ensures that
 	future `git pull` and `git fetch` won't follow any tags. Subsequent

Documentation/git-clone.txt corresponding `--mirror` and `--no-tags` options instead. · line 287

Quoted 10 lines
Documentation/git-clone.txt +3 -3
 	explicit tag fetches will still work (see linkgit:git-fetch[1]).
-
-	By default, tags are cloned and passing `--tags` is thus typically a
-	no-op, unless it cancels out a previous `--no-tags`.
++
+By default, tags are cloned and passing `--tags` is thus typically a
+no-op, unless it cancels out a previous `--no-tags`.
 +
 Can be used in conjunction with `--single-branch` to clone and
 maintain a branch with no references other than a single cloned

Thanks.