aboutsummaryrefslogtreecommitdiff
path: root/bdep/publish.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-21 17:18:00 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-25 11:49:10 +0300
commit05d51df07bdbb051de00a3e1bc8fab13c3092b11 (patch)
tree2dee4fc1a26a315cba44c8589052af3651f8000d /bdep/publish.cxx
parentbdb1c184cc869dbf7d70f4f8fd373f31c9e3f10d (diff)
Add --progress common option
Diffstat (limited to 'bdep/publish.cxx')
-rw-r--r--bdep/publish.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx
index bae4316..ee3bf9d 100644
--- a/bdep/publish.cxx
+++ b/bdep/publish.cxx
@@ -773,7 +773,7 @@ namespace bdep
}
}));
- if (verb && !o.no_progress ())
+ if ((verb && !o.no_progress ()) || o.progress ())
text << "pushing branch build2-control";
git_push (o,
@@ -793,7 +793,7 @@ namespace bdep
// The path points into the temporary directory so let's omit the
// directory part.
//
- if (verb && !o.no_progress ())
+ if ((verb && !o.no_progress ()) || o.progress ())
text << "submitting " << p.archive.leaf ();
url u (o.repository ());