diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-05-30 21:00:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-05-30 21:00:41 +0300 |
commit | ecb8c74e002b66f61199e1cb6bc61fabf2f29a01 (patch) | |
tree | e45ce12bfa6e9ec9b1b60a25c80cd445fbca6548 /bpkg/fetch-git.cxx | |
parent | 7a20c6dc511c39df0355f32ebeb89e16e8677834 (diff) |
Add progress indication for verifying and fixing up symlinks in pkg-checkout
Diffstat (limited to 'bpkg/fetch-git.cxx')
-rw-r--r-- | bpkg/fetch-git.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx index f3c6355..44387de 100644 --- a/bpkg/fetch-git.cxx +++ b/bpkg/fetch-git.cxx @@ -2692,6 +2692,9 @@ namespace bpkg void git_verify_symlinks (const common_options& co, const dir_path& dir) { + if ((verb && !co.no_progress ()) || co.progress ()) + text << "verifying symlinks..."; + verify_symlinks (co, dir, dir_path () /* prefix */); } @@ -3003,6 +3006,9 @@ namespace bpkg bool revert, bool ie) { + if (!revert && ((verb && !co.no_progress ()) || co.progress ())) + text << "fixing up symlinks..."; + try { optional<bool> r ( |