summaryrefslogtreecommitdiff
path: root/src/cli/progress.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-06-11 16:51:04 -0400
committerGitHub <noreply@github.com>2022-06-11 16:51:04 -0400
commit2b28ee77ca5f03f90f616abb718168fcff6756aa (patch)
tree0144fe511ea768cc9d836e9b95718cb7592d50e3 /src/cli/progress.h
parent28d2ea1d28555b0ca6a218ad47ec875c51cd0507 (diff)
parent3a7371694ce3319a3d9e64a4cf960dc14536bed6 (diff)
downloadlibgit2-2b28ee77ca5f03f90f616abb718168fcff6756aa.tar.gz
Merge pull request #6319 from libgit2/ethomson/progress_32bit
CLI: progress updates
Diffstat (limited to 'src/cli/progress.h')
-rw-r--r--src/cli/progress.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli/progress.h b/src/cli/progress.h
index fab2e97a2..7a445ec29 100644
--- a/src/cli/progress.h
+++ b/src/cli/progress.h
@@ -40,6 +40,10 @@ typedef struct {
git_str sideband;
git_str onscreen;
git_str deferred;
+
+ /* Last update about throughput */
+ double throughput_update;
+ double throughput_bytes;
} cli_progress;
#define CLI_PROGRESS_INIT { 0 }