Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriaan Erasmus committed Oct 25, 2012
2 parents cbdd531 + 8c19fa2 commit f32b6f1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions git-flow-init
Expand Up @@ -242,6 +242,19 @@ cmd_default() {

local prefix

# Project branches
if ! git config --get gitflow.prefix.project >/dev/null 2>&1 || flag force; then
default_suggestion=$(git config --get gitflow.prefix.project || echo project/)
printf "Project branches? [$default_suggestion] "
if noflag defaults; then
read answer
else
printf "\n"
fi
[ "$answer" = "-" ] && prefix= || prefix=${answer:-$default_suggestion}
git config gitflow.prefix.project "$prefix"
fi

# Feature branches
if ! git config --get gitflow.prefix.feature >/dev/null 2>&1 || flag force; then
default_suggestion=$(git config --get gitflow.prefix.feature || echo feature/)
Expand Down

0 comments on commit f32b6f1

Please sign in to comment.