Commit f78b6604 authored by Vincent Driessen's avatar Vincent Driessen

Move up the notification that default branch names are being used.

parent 69f205c1
...@@ -69,6 +69,10 @@ cmd_default() { ...@@ -69,6 +69,10 @@ cmd_default() {
local branch_count local branch_count
local answer local answer
if flag defaults; then
warn "Using default branch names."
fi
# add a master branch if no such branch exists yet # add a master branch if no such branch exists yet
local master_branch local master_branch
if gitflow_has_master_configured && ! flag force; then if gitflow_has_master_configured && ! flag force; then
...@@ -103,10 +107,6 @@ cmd_default() { ...@@ -103,10 +107,6 @@ cmd_default() {
done done
fi fi
if flag defaults; then
warn "Using default branch names."
fi
printf "Branch name for production releases: [$default_suggestion] " printf "Branch name for production releases: [$default_suggestion] "
if noflag defaults; then if noflag defaults; then
read answer read answer
......
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