diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-07-27 15:51:58 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-07-27 15:51:58 -0400 |
commit | 0262a70bd881f1c8370a07fcae725e96ea3a2a7c (patch) | |
tree | 40b30fc0a07b94138aac320b85208f003810d3a0 | |
parent | 9e95d523c9b936ecda8ac842dc520b54d1706ff2 (diff) | |
download | b4-0262a70bd881f1c8370a07fcae725e96ea3a2a7c.tar.gz |
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 <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/ez.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') |