aboutsummaryrefslogtreecommitdiff
path: root/bpkg/fetch-git.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-14 11:55:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-14 11:55:38 +0200
commit5487be65a6f493968c0e997d93bcd5c2d87158ef (patch)
treefaf8f7d528bf4e6c2611c894f6c3165d9fd2488c /bpkg/fetch-git.cxx
parentacf830d519ba2b467f5eb0968b44a514b1b0e2b3 (diff)
Add --no-result option to suppress printing informational messages
Diffstat (limited to 'bpkg/fetch-git.cxx')
-rw-r--r--bpkg/fetch-git.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx
index 17c56c5..833c3a7 100644
--- a/bpkg/fetch-git.cxx
+++ b/bpkg/fetch-git.cxx
@@ -665,8 +665,11 @@ namespace bpkg
// This makes it hard to understand which superproject/submodule is
// currently being fetched. Let's fix that.
//
+ // Note that we have "fixed" that capital letter nonsense (hoping that
+ // git-clone will do the same at some point).
+ //
if (verb != 0)
- text << "Fetching in '" << dir.posix_string () << "'...";
+ text << "fetching in '" << dir.posix_string () << "'...";
// Note that we suppress the (too detailed) fetch command output if the
// verbosity level is 1. However, we still want to see the progress in
@@ -878,10 +881,10 @@ namespace bpkg
update_tree (co, fsdir, psdir, ref, cap, shallow, to);
// Not quite a checkout, but let's make the message match the
- // git-submodule script output.
+ // git-submodule script output (again, except for capitalization).
//
if (verb > 0)
- text << "Submodule path '" << psd << "': checked out '" << commit
+ text << "submodule path '" << psd << "': checked out '" << commit
<< "'";
// Recurse.