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

[PATCH v2] Document count-objects pack

From
Daniele Sassoli via GitGitGadget <gitgitgadget@gmail.com>
Date
Aug 14, 2025, 13:16 UTC
Message-ID
<pull.2031.v2.git.git.1755177382349.gitgitgadget@gmail.com>
In-Reply-To
<pull.2031.git.git.1755078045397.gitgitgadget@gmail.com>
From: Daniele Sassoli <danielesassoli@gmail.com>

0bdaa12169b (git-count-objects.txt: describe each line in -v output, 2013-02-08) forgot to include `packs`.

Signed-off-by: Daniele Sassoli <danielesassoli@gmail.com>
---
    Document count-objects -v - packs output
    
    https://github.com/DanieleSassoli/git/commit/0bdaa12169bca5d69f2c58f96cc92d51280e9e26
    (git-count-objects.txt: describe each line in -v output, 2013-02-08)
    forgot to include packs.
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2031%2FDanieleSassoli%2Fmaster-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2031/DanieleSassoli/master-v2
Pull-Request: https://github.com/git/git/pull/2031
Range-diff vs v1:
 1:  85bcb142b55 ! 1:  6f0394651c9 Document count-objects pack
     @@ Metadata
       ## Commit message ##
          Document count-objects pack
      
     -    Juno added the printing of "packs" with ae72f685418b.
     -    When 0bdaa1216 refactored the docs for the -v option, this was missed.
     +    0bdaa12169b (git-count-objects.txt: describe each line in -v output,
     +    2013-02-08) forgot to include `packs`.
      
          Signed-off-by: Daniele Sassoli <danielesassoli@gmail.com>
      
 Documentation/git-count-objects.adoc | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/Documentation/git-count-objects.adoc b/Documentation/git-count-objects.adoc
index 97f9f126101..eeee6b9f7f4 100644
--- a/Documentation/git-count-objects.adoc
+++ b/Documentation/git-count-objects.adoc
@@ -28,6 +28,8 @@ size: disk space consumed by loose objects, in KiB (unless -H is specified)
 +
 in-pack: the number of in-pack objects
 +
+packs: the number of pack files
++
 size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
 +
 prune-packable: the number of loose objects that are also present in

base-commit: 2c2ba49d55ff26c1082b8137b1ec5eeccb4337d1
-- 
gitgitgadget
Previous: Junio C HamanoNext: Kristoffer Haugsbakk
Message 4 of 7 in “Document count-objects pack”
  1. Document count-objects packDaniele Sassoli via GitGitGadget, Aug 13, 2025
  2. Kristoffer HaugsbakkAug 14, 2025
  3. Junio C HamanoAug 14, 2025
  4. Document count-objects packDaniele Sassoli via GitGitGadget, Aug 14, 2025
  5. Kristoffer HaugsbakkAug 14, 2025
  6. count-objects: document count-objects packDaniele Sassoli via GitGitGadget, Aug 14, 2025
  7. Junio C HamanoAug 14, 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.