Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 4c92a9d339d62cedc158b3f0e5723a9fbe072603 1 parent e168487
@nvie authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 git-flow
View
6 git-flow
@@ -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
}

0 comments on commit 4c92a9d

Please sign in to comment.
Something went wrong with that request. Please try again.