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

pack-objects: won't show the "Writing objects" progress if bitmap exists

From
Hhaoyurenzhuxia@gmail.com <haoyurenzhuxia@gmail.com>
Date
Aug 3, 2022, 03:43 UTC
Message-ID
<20220803034320.119959-1-haoyurenzhuxia@gmail.com>
From: Xia XiaoWen <haoyurenzhuxia@gmail.com>
If bitmap exists, Run the command:
    $ git pack-objects --all-progress-implied --all --stdout --thin
--delta-base-offset --progress

Won't show `Writing objects` progress until writing objects finished. The output will display `Enumerating objects` for an long time(about 100s in my case):

    Enumerating objects: 329780, done.
Untils writing objects finished, then the output display like this:
    Writing objects: 100% (329780/329780), 110.26 MiB | 1.02 MiB/s, done.
    Total 329780 (delta 0), reused 0 (delta 0), pack-reused 329780

I used `git repack -ad` to create packfile bitmap in the bare repo (git.git in my case).

I found the "problem"(maybe) while `git push --mirror` to github.
Message 1 of 1 in “pack-objects: won't show the "Writing objects" progress if bitmap exists”
  1. haoyurenzhuxia@gmail.comAug 3, 2022

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.