threads / patch / 63153

patchpack-refs doc: fix indentation for --exclude

Subject: [PATCH] pack-refs doc: fix indentation for --exclude

## tl;dr

One message between Mar 18, 2025 and Mar 18, 2025. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Phillip Wood via GitGitGadget· Mar 18, 2025, 14:40 UTC · lore
From: Phillip Wood <phillip.wood@dunelm.org.uk>

Separate the paragraphs in the description of `--exclude` with a `+` rather than an empty line to indent the whole description rather than just the first paragraph.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
    pack-refs doc: fix indentation for --exclude
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1920%2Fphillipwood%2Fpack-refs-docs-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1920/phillipwood/pack-refs-docs-v1
Pull-Request: https://github.com/git/git/pull/1920
 Documentation/git-pack-refs.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git-pack-refs.adoc +2 −2
diff --git a/Documentation/git-pack-refs.adoc b/Documentation/git-pack-refs.adoc
index 2dcabaf74ce..652c5497715 100644
--- a/Documentation/git-pack-refs.adoc
+++ b/Documentation/git-pack-refs.adoc
@@ -88,10 +88,10 @@ Do not pack refs matching the given `glob(7)` pattern. Repetitions of this optio
 accumulate exclusion patterns. Use `--no-exclude` to clear and reset the list of
 patterns. If a ref is already packed, including it with `--exclude` will not
 unpack it.
-
++
 When used with `--all`, pack only loose refs which do not match any of
 the provided `--exclude` patterns.
-
++
 When used with `--include`, refs provided to `--include`, minus refs that are
 provided to `--exclude` will be packed.
 

base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e
-- 
gitgitgadget

← back to recent threads