From 0262a70bd881f1c8370a07fcae725e96ea3a2a7c Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Wed, 27 Jul 2022 15:51:58 -0400 Subject: ez: tell us where we got current strategy When getting strategy from branch configs, tell us that it's where it came from. Signed-off-by: Konstantin Ryabitsev --- b4/ez.py | 1 + 1 file changed, 1 insertion(+) diff --git a/b4/ez.py b/b4/ez.py index 8d4961a..06dfca4 100644 --- a/b4/ez.py +++ b/b4/ez.py @@ -390,6 +390,7 @@ def get_cover_strategy(branch: Optional[str] = None) -> str: bconfig = b4.get_config_from_git(rf'branch\.{branch}\..*') if 'b4-prep-cover-strategy' in bconfig: strategy = bconfig.get('b4-prep-cover-strategy') + logger.debug('Got strategy=%s from branch-config', strategy) else: config = b4.get_main_config() strategy = config.get('prep-cover-strategy', 'commit') -- cgit v1.2.3