Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
gitflow
Commits
4c92a9d3
Commit
4c92a9d3
authored
Feb 02, 2010
by
Vincent Driessen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'fatal' prefix for messages, like Git does itself.
parent
e168487d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
git-flow
git-flow
+3
-3
No files found.
git-flow
View file @
4c92a9d3
...
@@ -111,16 +111,16 @@ gitflow_require_clean_working_tree() {
...
@@ -111,16 +111,16 @@ gitflow_require_clean_working_tree() {
gitflow_test_clean_working_tree
gitflow_test_clean_working_tree
result
=
$?
result
=
$?
if
[
$result
-eq
1
]
;
then
if
[
$result
-eq
1
]
;
then
die
"
Working tree contains unstaged changes. Aborting ..
."
die
"
fatal: Working tree contains unstaged changes. Aborting
."
fi
fi
if
[
$result
-eq
2
]
;
then
if
[
$result
-eq
2
]
;
then
die
"
Index contains uncommited changes. Aborting ..
."
die
"
fatal: Index contains uncommited changes. Aborting
."
fi
fi
}
}
gitflow_require_local_branch
()
{
gitflow_require_local_branch
()
{
if
!
has
$1
$LOCAL_BRANCHES
;
then
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
fi
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment