aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2025-02-04 09:40:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2025-02-04 09:40:22 +0200
commit1450a0f1466a8cfb48ed17ea07beff7f0c4b4a02 (patch)
tree0d01f28fdc4f5975cd03c1c79ce64148d26cf43c /libbuild2/operation.cxx
parent0185ab83a8eb99bfa2dc3c1a2abb3a8ceee37916 (diff)
Improve progress diagnosticsHEADmaster
Diffstat (limited to 'libbuild2/operation.cxx')
-rw-r--r--libbuild2/operation.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/operation.cxx b/libbuild2/operation.cxx
index fae1251..8b28dd8 100644
--- a/libbuild2/operation.cxx
+++ b/libbuild2/operation.cxx
@@ -288,11 +288,14 @@ namespace build2
// Note also that the higher the increment, the less accurate our
// executed during match number will be.
//
+ // Note that we strip the outer operation from "(... during match)"
+ // not to repeat the same "(for <operation>)" twice.
+ //
md.incr = stderr_term // Scale depending on output type.
? (ctx.sched->serial () ? 1 : 2)
: 100;
md.what1 = " targets to " + diag_do (ctx, a);
- md.what2 = ' ' + diag_did (ctx, a) + " during match)";
+ md.what2 = ' ' + diag_did (ctx, a.inner_action ()) + " during match)";
mg = ctx.sched->monitor (
ctx.target_count,