From ecb8c74e002b66f61199e1cb6bc61fabf2f29a01 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 30 May 2023 21:00:41 +0300 Subject: Add progress indication for verifying and fixing up symlinks in pkg-checkout --- bpkg/fetch-git.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bpkg/fetch-git.cxx') 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 r ( -- cgit v1.1