Skip to content

Commit

Permalink
Move up the notification that default branch names are being used.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Feb 14, 2011
1 parent 69f205c commit f78b660
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions git-flow-init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f78b660

Please sign in to comment.