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

git clone --bundle-uri: provide progress feedback?

From
Xavier Morel <xmo@odoo.com>
Date
Apr 11, 2025, 11:07 UTC
Message-ID
<bdf4c917-f1b2-4c24-9b59-97d8a770d06d@odoo.com>

I've been looking at `--bundle-uri` for a repository of some size (~5 million objects, ~10GB fresh cloned though an aggressive gc get it down to under 2), however from a UX perspective it seems to have a bit of an issue: while normally `git clone` provides pretty extensive progress feedback as far as I can see there is no feedback whatsoever while `clone` is interacting with the bundle, even explicitly setting `--verbose` and `--progress`, at least when the bundle is a local file.

I assume bundle-uri is mostly intended for large repositories, for which even a clone with a bundle uri can take a while, and the lack of any sort of feedback until git reaches out to the actual repository to find what was not in the bundle is somewhat distressing.

And side-note, it might make sense to emit a warning when trying to combine `--bundle-uri` with `--filter`? I assume if any filtering happens it happens only on the reconciliation fetch, which should be extremely small compared to the bundle's size. Experimentally with a sample size of (1) using `--filter=tree:0` with a bundle uri yields a larger repository *and* is slower than leaving the filter out.

Next: Toon Claes
Message 1 of 2 in “git clone --bundle-uri: provide progress feedback?”
  1. Xavier MorelApr 11, 2025
  2. Toon ClaesApr 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.