diff --git a/autonomic/utils.py b/autonomic/utils.py index ca10693..e69d5e3 100644 --- a/autonomic/utils.py +++ b/autonomic/utils.py @@ -98,7 +98,10 @@ def git_status(fpath): cmd = ["git", "status", "--porcelain"] output = run(cmd, cwd=fpath) - if output is not None: + if output: msg = "warning: git reports uncommitted changes in {}".format(fpath) log.warning(msg) log.warning(output) + else: + msg = "No unstaged changes found in {}".format(INFRA_DIR) + log.info(msg)