[PATCH v2 0/4] bundle: show progress on "unbundle"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Aug 23, 2021, 11:02 UTC
- Message-ID
- <cover-v2-0.4-00000000000-20210823T110136Z-avarab@gmail.com>
- In-Reply-To
- <cover-0.4-0000000000-20210727T004015Z-avarab@gmail.com>
This straightforward series addr progress output on "git bundle unbundle", we already had progress output if bundles were fetched from via the transport.c (i.e. "git clone/fetch" etc.), but not from "git bundle unbundle" directly.
This was submitted as https://lore.kernel.org/git/cover-0.4-0000000000-20210727T004015Z-avarab@gmail.com/ before v2.33, hopefully now with the release out these rather trivial patches can be queued up. The only change since v1 is an extended commit message in 3/4 discussing the initial motivation for this change.
Ævar Arnfjörð Bjarmason (4): bundle API: start writing API documentation bundle API: change "flags" to be "extra_index_pack_args" index-pack: add --progress-title option bundle: show progress on "unbundle"
Documentation/git-index-pack.txt | 6 ++++++ builtin/bundle.c | 16 ++++++++++++++-- builtin/index-pack.c | 6 ++++++ bundle.c | 17 +++++++++++------ bundle.h | 15 +++++++++++++-- transport.c | 5 ++++- 6 files changed, 54 insertions(+), 11 deletions(-)
Range-diff against v1:
1: 70865046bea = 1: dc8591f6d0b bundle API: start writing API documentation
2: f19af15c9da = 2: 3d7bd9c33be bundle API: change "flags" to be "extra_index_pack_args"
3: 98262f4cb89 ! 3: 67197064a8b index-pack: add --progress-title option
@@ Commit message
Add a --progress-title option to index-pack, when data is piped into
index-pack its progress is a proxy for whatever's feeding it
- data. This option will allow us to set a more relevant progress bar
- title.
+ data.
+
+ This option will allow us to set a more relevant progress bar title in
+ "git bundle unbundle", and is also used in my "bundle-uri" RFC
+ patches[1] by a new caller in fetch-pack.c.
+
+ 1. https://lore.kernel.org/git/RFC-cover-00.13-0000000000-20210805T150534Z-avarab@gmail.com/
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
4: 853d72848a0 = 4: e4ca8b26962 bundle: show progress on "unbundle"-- 2.33.0.662.g438caf9576d