This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git

commit 0c3c8563f80d4839f88efda353433a535ee6e8da
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Fri Oct 19 11:44:22 2018 -0700

    Remove redundant version detection warning
    
    This particular "Could not detect version of installed repo" warning was
    reported in two places in the code.  Eliminate one of these redundant
    instances.
---
 newt/project/project.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/newt/project/project.go b/newt/project/project.go
index b7944e5..34adc7b 100644
--- a/newt/project/project.go
+++ b/newt/project/project.go
@@ -210,10 +210,6 @@ func (proj *Project) GetRepoVersion(
 
                if _, ok := proj.unknownRepoVers[rname]; !ok {
                        proj.unknownRepoVers[rname] = struct{}{}
-
-                       util.StatusMessage(util.VERBOSITY_QUIET,
-                               "WARNING: Could not detect version of installed 
repo \"%s\"; "+
-                                       "assuming 0.0.0/%s\n", r.Name(), commit)
                }
                ver = &newtutil.RepoVersion{
                        Commit: commit,

Reply via email to