aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-01-11 14:42:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-01-11 14:42:29 +0200
commit5168a158b504c7d370cd394b6f107e9897fd6dfc (patch)
treeacafada05d61f9497cc6d0f6073331ffee492872
parentaf5bda1f312095798063aea87218fe7e381e7291 (diff)
Adjust git verbosity in bdep-release
-rw-r--r--bdep/release.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/bdep/release.cxx b/bdep/release.cxx
index 5b5c396..b8565a9 100644
--- a/bdep/release.cxx
+++ b/bdep/release.cxx
@@ -653,7 +653,7 @@ namespace bdep
run_git (git_ver,
prj.path,
"commit",
- verb < 2 ? "-q" : verb > 2 ? "-v" : nullptr,
+ verb < 1 ? "-q" : verb >= 2 ? "-v" : nullptr,
"-a",
"-m", msg);
};
@@ -836,8 +836,7 @@ namespace bdep
run_git (git_ver,
prj.path,
"push",
- verb < 2 ? "-q" : verb > 3 ? "-v" : nullptr,
- verb == 1 ? "--progress" : nullptr,
+ verb < 1 ? "-q" : verb >= 2 ? "-v" : nullptr,
remote,
brspec,
!tagspec.empty () ? tagspec.c_str () : nullptr);