]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repo: add progress meter for structure stats
authorJustin Tobler <jltobler@gmail.com>
Tue, 21 Oct 2025 18:26:01 +0000 (13:26 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Oct 2025 21:40:38 +0000 (14:40 -0700)
commit16a93c03c7824a40b034a6ee1cb1c68c8ef48682
tree0728f109eef9dc77a523a14891f03fa757a7c3ce
parent17215675b5a2c2eab54b295a7e92d953af2e8779
builtin/repo: add progress meter for structure stats

When using the structure subcommand for git-repo(1), evaluating a
repository may take some time depending on its shape. Add a progress
meter to provide feedback to the user about what is happening. The
progress meter is enabled by default when the command is executed from a
tty. It can also be explicitly enabled/disabled via the --[no-]progress
option.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repo.c
t/t1901-repo-structure.sh