From 5487be65a6f493968c0e997d93bcd5c2d87158ef Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Mar 2018 11:55:38 +0200 Subject: Add --no-result option to suppress printing informational messages --- bpkg/fetch-git.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'bpkg/fetch-git.cxx') 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. -- cgit v1.1