Permalink
Browse files

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

  • Loading branch information...
1 parent 69f205c commit f78b6604adc771e963fb463d8eb5b8be6aa87bb7 @nvie committed Feb 14, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 git-flow-init
View
8 git-flow-init
@@ -69,6 +69,10 @@ cmd_default() {
local branch_count
local answer
+ if flag defaults; then
+ warn "Using default branch names."
+ fi
+
# add a master branch if no such branch exists yet
local master_branch
if gitflow_has_master_configured && ! flag force; then
@@ -103,10 +107,6 @@ cmd_default() {
done
fi
- if flag defaults; then
- warn "Using default branch names."
- fi
-
printf "Branch name for production releases: [$default_suggestion] "
if noflag defaults; then
read answer

0 comments on commit f78b660

Please sign in to comment.