From b8ed5543f89aa8b460a18f361c02f7ba42303a97 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 24 Apr 2019 18:54:55 +0200 Subject: [PATCH] fetch-sources: more consistent logging Signed-off-by: Tobias Ulmer --- local/e2-fetch-sources.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local/e2-fetch-sources.lua b/local/e2-fetch-sources.lua index 93db678..cedd736 100644 --- a/local/e2-fetch-sources.lua +++ b/local/e2-fetch-sources.lua @@ -117,7 +117,7 @@ local function e2_fetch_source(arg) -- fetch for sourcename, src in pairs(source.sources) do if opts.fetch and sel[sourcename] then - e2lib.logf(1, "fetching working copy for source %s", sourcename) + e2lib.logf(1, "%s: fetching working copy", sourcename) rc, re = src:fetch_source() if not rc then e:cat(re) @@ -128,7 +128,7 @@ local function e2_fetch_source(arg) -- update for sourcename, src in pairs(source.sources) do if opts.update and sel[sourcename] then - e2lib.logf(1, "updating working copy for %s", sourcename) + e2lib.logf(1, "%s: updating working copy", sourcename) rc, re = src:update_source() if not rc then e:cat(re) @@ -200,7 +200,7 @@ local function e2_fetch_source(arg) end if next(sel) ~= nil then - e2lib.log(2, "fetching sources...") + -- e2lib.log(2, "fetching sources...") local rc, re = fetch_sources(e2project:info(), opts, sel) if not rc then e:cat(re) -- 2.39.5