Commit 4c92a9d3 authored by Vincent Driessen's avatar Vincent Driessen

Add 'fatal' prefix for messages, like Git does itself.

parent e168487d
......@@ -111,16 +111,16 @@ gitflow_require_clean_working_tree() {
gitflow_test_clean_working_tree
result=$?
if [ $result -eq 1 ]; then
die "Working tree contains unstaged changes. Aborting ..."
die "fatal: Working tree contains unstaged changes. Aborting."
fi
if [ $result -eq 2 ]; then
die "Index contains uncommited changes. Aborting ..."
die "fatal: Index contains uncommited changes. Aborting."
fi
}
gitflow_require_local_branch() {
if ! has $1 $LOCAL_BRANCHES; then
die "Local branch '$1' does not exist and is required."
die "fatal: Local branch '$1' does not exist and is required."
fi
}
......
Markdown is supported
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