Return after echo
This commit is contained in:
parent
86e92e1a80
commit
d06fce428a
|
@ -94,7 +94,11 @@ function commit_has_changed {
|
||||||
CURRENT_REPO_COMMIT=$(get_completion_param "$repo_commit_name")
|
CURRENT_REPO_COMMIT=$(get_completion_param "$repo_commit_name")
|
||||||
if [[ "$CURRENT_REPO_COMMIT" != "$repo_commit" ]]; then
|
if [[ "$CURRENT_REPO_COMMIT" != "$repo_commit" ]]; then
|
||||||
echo "1"
|
echo "1"
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "1"
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "0"
|
echo "0"
|
||||||
|
|
Loading…
Reference in New Issue