path: root/builtin/receive-pack.c
diff options
authorJeff King <>2016-07-20 13:28:09 (GMT)
committerJunio C Hamano <>2016-07-20 19:10:44 (GMT)
commit434ea3cdadf8c7592ba167ce122d3984e984a158 (patch)
treed7ea01e55d2820d94d94dba8217902976d51b162 /builtin/receive-pack.c
parentf26eef302fc315394d1016eb06360637ac86f62e (diff)
rev-list: add optional progress reporting
It's easy to ask rev-list to do a traversal that may takes many seconds (e.g., by calling "--objects --all"). In theory you can monitor its progress by the output you get to stdout, but this isn't always easy. Some operations, like "--count", don't make any output until the end. And some callers, like check_everything_connected(), are using it just for the error-checking of the traversal, and throw away stdout entirely. This patch adds a "--progress" option which can be used to give some eye-candy for a user waiting for a long traversal. This is just a rev-list option and not a regular traversal option, because it needs cooperation from the callbacks in builtin/rev-list.c to do the actual count. Signed-off-by: Jeff King <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions