git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
PGPhillip Wood via GitGitGadget <gitgitgadget@gmail.com>
Date
Mar 18, 2025, 14:40 UTC
Message-ID
<pull.1920.git.git.1742308828163.gitgitgadget@gmail.com>
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(-)
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
Message 1 of 1 in “pack-refs doc: fix indentation for --exclude”
  1. pack-refs doc: fix indentation for --excludePhillip Wood via GitGitGadget, Mar 18, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.