Commit 3b903110 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

dim: Clarify which working tree is not clean



We call assert_repo_clean() from a few places and for some of them, it's
not clear PWD would matter, example: dim ub

Clarify what's the working tree dim is complaining about.
Signed-off-by: Lucas De Marchi's avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza's avatarJosé Roberto de Souza <jose.souza@intel.com>
parent ae340fa8
Pipeline #566162 passed with stages
in 52 seconds
......@@ -2354,7 +2354,7 @@ function assert_branch
function assert_repo_clean
{
if [[ -n "$(git status --porcelain --untracked-files=no)" ]]; then
echo "Repository not clean, aborting."
echo "Working tree $PWD not clean, aborting."
exit 1
fi
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment