{"thread":{"id":"63953","subject":"[PATCH] Document count-objects pack","startedAt":"2025-08-13T09:40:49Z","lastAt":"2025-08-14T21:40:12Z","messageCount":7,"participants":["Daniele Sassoli via GitGitGadget","Kristoffer Haugsbakk","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"524117","messageId":"pull.2031.git.git.1755078045397.gitgitgadget@gmail.com","threadId":"63953","inReplyTo":null,"subject":"[PATCH] Document count-objects pack","fromName":"Daniele Sassoli via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2025-08-13T09:40:45Z","receivedAt":"2025-08-13T09:40:49Z","isPatch":true,"sender":{"key":"danielesassoli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4007741?v=4"},"body":"From: Daniele Sassoli <danielesassoli@gmail.com>\n\nJuno added the printing of \"packs\" with ae72f685418b.\nWhen 0bdaa1216 refactored the docs for the -v option, this was missed.\n\nSigned-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n---\n    Document count-objects -v - packs output\n    \n    Juno added the printing of \"packs\" with ae72f68541\n    [https://github.com/DanieleSassoli/git/commit/ae72f685418b79bbd67e1017c5b1ac7d731c042e].\n    When 0bdaa1216\n    [https://github.com/DanieleSassoli/git/commit/0bdaa12169bca5d69f2c58f96cc92d51280e9e26]refactored\n    the docs for the -v option, this was missed.\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2031%2FDanieleSassoli%2Fmaster-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2031/DanieleSassoli/master-v1\nPull-Request: https://github.com/git/git/pull/2031\n\n Documentation/git-count-objects.adoc | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/Documentation/git-count-objects.adoc b/Documentation/git-count-objects.adoc\nindex 97f9f126101..eeee6b9f7f4 100644\n--- a/Documentation/git-count-objects.adoc\n+++ b/Documentation/git-count-objects.adoc\n@@ -28,6 +28,8 @@ size: disk space consumed by loose objects, in KiB (unless -H is specified)\n +\n in-pack: the number of in-pack objects\n +\n+packs: the number of pack files\n++\n size-pack: disk space consumed by the packs, in KiB (unless -H is specified)\n +\n prune-packable: the number of loose objects that are also present in\n\nbase-commit: 2c2ba49d55ff26c1082b8137b1ec5eeccb4337d1\n-- \ngitgitgadget\n"},{"id":"524169","messageId":"8147cec2-f898-40d7-ac3b-763920eb7947@app.fastmail.com","threadId":"63953","inReplyTo":"pull.2031.git.git.1755078045397.gitgitgadget@gmail.com","subject":"Re: [PATCH] Document count-objects pack","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2025-08-14T07:30:51Z","receivedAt":"2025-08-14T07:31:13Z","isPatch":true,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"On Wed, Aug 13, 2025, at 11:40, Daniele Sassoli via GitGitGadget wrote:\n> From: Daniele Sassoli <danielesassoli@gmail.com>\n>\n> Juno added the printing of \"packs\" with ae72f685418b.\n> When 0bdaa1216 refactored the docs for the -v option, this was missed.\n\ns/Juno/Junio/\n\nBut commits are usually just listed as-is without mentioning authors or\nother metadata.  Something like this:[1]\n\n    ae72f685418 (count-objects -v: show number of packs as well.,\n    2006-12-27) added `packs` to the output of `-v`.  0bdaa12169b\n    (git-count-objects.txt: describe each line in -v output, 2013-02-08)\n    forgot to include `packs`.\n\nThe text above is a bit more terse around the commit references since\nthe subject line for the second commit says what the intent was.\n\nAlternatively, just referencing the second commit:\n\n    0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n    2013-02-08) forgot to include `packs`.\n\n† 1: using “commit-reference” from Documentation/SubmittingPatches\n\n>\n> Signed-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n"},{"id":"524170","messageId":"pull.2031.v2.git.git.1755177382349.gitgitgadget@gmail.com","threadId":"63953","inReplyTo":"pull.2031.git.git.1755078045397.gitgitgadget@gmail.com","subject":"[PATCH v2] Document count-objects pack","fromName":"Daniele Sassoli via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2025-08-14T13:16:22Z","receivedAt":"2025-08-14T13:16:26Z","isPatch":true,"sender":{"key":"danielesassoli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4007741?v=4"},"body":"From: Daniele Sassoli <danielesassoli@gmail.com>\n\n0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n2013-02-08) forgot to include `packs`.\n\nSigned-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n---\n    Document count-objects -v - packs output\n    \n    https://github.com/DanieleSassoli/git/commit/0bdaa12169bca5d69f2c58f96cc92d51280e9e26\n    (git-count-objects.txt: describe each line in -v output, 2013-02-08)\n    forgot to include packs.\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2031%2FDanieleSassoli%2Fmaster-v2\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2031/DanieleSassoli/master-v2\nPull-Request: https://github.com/git/git/pull/2031\n\nRange-diff vs v1:\n\n 1:  85bcb142b55 ! 1:  6f0394651c9 Document count-objects pack\n     @@ Metadata\n       ## Commit message ##\n          Document count-objects pack\n      \n     -    Juno added the printing of \"packs\" with ae72f685418b.\n     -    When 0bdaa1216 refactored the docs for the -v option, this was missed.\n     +    0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n     +    2013-02-08) forgot to include `packs`.\n      \n          Signed-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n      \n\n\n Documentation/git-count-objects.adoc | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/Documentation/git-count-objects.adoc b/Documentation/git-count-objects.adoc\nindex 97f9f126101..eeee6b9f7f4 100644\n--- a/Documentation/git-count-objects.adoc\n+++ b/Documentation/git-count-objects.adoc\n@@ -28,6 +28,8 @@ size: disk space consumed by loose objects, in KiB (unless -H is specified)\n +\n in-pack: the number of in-pack objects\n +\n+packs: the number of pack files\n++\n size-pack: disk space consumed by the packs, in KiB (unless -H is specified)\n +\n prune-packable: the number of loose objects that are also present in\n\nbase-commit: 2c2ba49d55ff26c1082b8137b1ec5eeccb4337d1\n-- \ngitgitgadget\n"},{"id":"524171","messageId":"6fa49c61-5a3d-45b8-a2dd-5c03515a7da8@app.fastmail.com","threadId":"63953","inReplyTo":"pull.2031.v2.git.git.1755177382349.gitgitgadget@gmail.com","subject":"Re: [PATCH v2] Document count-objects pack","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2025-08-14T13:46:53Z","receivedAt":"2025-08-14T13:47:14Z","isPatch":true,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"On Thu, Aug 14, 2025, at 15:16, Daniele Sassoli via GitGitGadget wrote:\n> From: Daniele Sassoli <danielesassoli@gmail.com>\n>\n> 0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n> 2013-02-08) forgot to include `packs`.\n>\n> Signed-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n> ---\n>     Document count-objects -v - packs output\n\nI’m very sorry that I missed this the first time around before you sent\nout this new version... but also the subject line\n\n    Document count-objects -v - packs output\n\nShould start with a lowercase “area” like e.g.\n\n    doc: count-objects: ...\n\nOr:\n\n    count-objects: ...\n\nOr some other variation (see `git log --oneline --follow\nDocumentation/git-count-objects.adoc`).\n\n-- \nKristoffer Haugsbakk\n"},{"id":"524174","messageId":"pull.2031.v3.git.git.1755182034719.gitgitgadget@gmail.com","threadId":"63953","inReplyTo":"pull.2031.v2.git.git.1755177382349.gitgitgadget@gmail.com","subject":"[PATCH v3] count-objects: document count-objects pack","fromName":"Daniele Sassoli via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2025-08-14T14:33:54Z","receivedAt":"2025-08-14T14:33:58Z","isPatch":true,"sender":{"key":"danielesassoli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4007741?v=4"},"body":"From: Daniele Sassoli <danielesassoli@gmail.com>\n\n0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n2013-02-08) forgot to include `packs`.\n\nSigned-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n---\n    Document count-objects -v - packs output\n    \n    https://github.com/DanieleSassoli/git/commit/0bdaa12169bca5d69f2c58f96cc92d51280e9e26\n    (git-count-objects.txt: describe each line in -v output, 2013-02-08)\n    forgot to include packs.\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2031%2FDanieleSassoli%2Fmaster-v3\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2031/DanieleSassoli/master-v3\nPull-Request: https://github.com/git/git/pull/2031\n\nRange-diff vs v2:\n\n 1:  6f0394651c9 ! 1:  ab90af2b6a0 Document count-objects pack\n     @@ Metadata\n      Author: Daniele Sassoli <danielesassoli@gmail.com>\n      \n       ## Commit message ##\n     -    Document count-objects pack\n     +    count-objects: document count-objects pack\n      \n          0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n          2013-02-08) forgot to include `packs`.\n\n\n Documentation/git-count-objects.adoc | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/Documentation/git-count-objects.adoc b/Documentation/git-count-objects.adoc\nindex 97f9f126101..eeee6b9f7f4 100644\n--- a/Documentation/git-count-objects.adoc\n+++ b/Documentation/git-count-objects.adoc\n@@ -28,6 +28,8 @@ size: disk space consumed by loose objects, in KiB (unless -H is specified)\n +\n in-pack: the number of in-pack objects\n +\n+packs: the number of pack files\n++\n size-pack: disk space consumed by the packs, in KiB (unless -H is specified)\n +\n prune-packable: the number of loose objects that are also present in\n\nbase-commit: 2c2ba49d55ff26c1082b8137b1ec5eeccb4337d1\n-- \ngitgitgadget\n"},{"id":"524175","messageId":"xmqqwm766jvv.fsf@gitster.g","threadId":"63953","inReplyTo":"8147cec2-f898-40d7-ac3b-763920eb7947@app.fastmail.com","subject":"Re: [PATCH] Document count-objects pack","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-08-14T14:46:44Z","receivedAt":"2025-08-14T14:46:46Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Kristoffer Haugsbakk\" <kristofferhaugsbakk@fastmail.com> writes:\n\n> On Wed, Aug 13, 2025, at 11:40, Daniele Sassoli via GitGitGadget wrote:\n>> From: Daniele Sassoli <danielesassoli@gmail.com>\n>>\n>> Juno added the printing of \"packs\" with ae72f685418b.\n>> When 0bdaa1216 refactored the docs for the -v option, this was missed.\n>\n> s/Juno/Junio/\n>\n> But commits are usually just listed as-is without mentioning authors or\n> other metadata.  Something like this:[1]\n>\n>     ae72f685418 (count-objects -v: show number of packs as well.,\n>     2006-12-27) added `packs` to the output of `-v`.  0bdaa12169b\n>     (git-count-objects.txt: describe each line in -v output, 2013-02-08)\n>     forgot to include `packs`.\n>\n> The text above is a bit more terse around the commit references since\n> the subject line for the second commit says what the intent was.\n>\n> Alternatively, just referencing the second commit:\n>\n>     0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n>     2013-02-08) forgot to include `packs`.\n\nThanks.\n"},{"id":"524188","messageId":"xmqqwm75y43p.fsf@gitster.g","threadId":"63953","inReplyTo":"pull.2031.v3.git.git.1755182034719.gitgitgadget@gmail.com","subject":"Re: [PATCH v3] count-objects: document count-objects pack","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-08-14T21:40:10Z","receivedAt":"2025-08-14T21:40:12Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Daniele Sassoli via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n\n> From: Daniele Sassoli <danielesassoli@gmail.com>\n>\n> 0bdaa12169b (git-count-objects.txt: describe each line in -v output,\n> 2013-02-08) forgot to include `packs`.\n>\n> Signed-off-by: Daniele Sassoli <danielesassoli@gmail.com>\n> ---\n> diff --git a/Documentation/git-count-objects.adoc b/Documentation/git-count-objects.adoc\n> index 97f9f126101..eeee6b9f7f4 100644\n> --- a/Documentation/git-count-objects.adoc\n> +++ b/Documentation/git-count-objects.adoc\n> @@ -28,6 +28,8 @@ size: disk space consumed by loose objects, in KiB (unless -H is specified)\n>  +\n>  in-pack: the number of in-pack objects\n>  +\n> +packs: the number of pack files\n> ++\n>  size-pack: disk space consumed by the packs, in KiB (unless -H is specified)\n>  +\n>  prune-packable: the number of loose objects that are also present in\n>\n> base-commit: 2c2ba49d55ff26c1082b8137b1ec5eeccb4337d1\n\nLooks good.  Thanks.  Will queue.\n"}]}