Permalink
Browse files

Fix in gitflow_get_remote

  • Loading branch information...
1 parent 3a69ae6 commit 362bdf9e789112c6fcb3ab30a4de8a376b82af10 Ulrich Kautz committed Sep 28, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 git-flow-feature
  2. +2 −2 git-flow-release
View
4 git-flow-feature
@@ -220,13 +220,13 @@ cmd_start() {
fi
# get remote, if differnt
- local branch_remote=`gitflow_get_remote $BRANCH`
+ branch_remote=`gitflow_get_remote $BRANCH`
echo
echo "Summary of actions:"
echo "- A new branch '$BRANCH' was created, based on '$BASE'"
echo "- You are now on branch '$BRANCH'"
- [ ! -z $branch_remote ] && echo "- Changes will be pushed to $branch_remote"
+ [ ! -z "$branch_remote" ] && echo "- Changes will be pushed to $branch_remote"
echo ""
echo "Now, start committing on your feature. When done, use:"
echo ""
View
4 git-flow-release
@@ -175,13 +175,13 @@ cmd_start() {
# set remote, if any
gitflow_set_remote "release" $BRANCH
- local branch_remote=`gitflow_get_remote $BRANCH`
+ branch_remote=`gitflow_get_remote $BRANCH`
echo
echo "Summary of actions:"
echo "- A new branch '$BRANCH' was created, based on '$BASE'"
echo "- You are now on branch '$BRANCH'"
- [ ! -z $branch_remote ] && echo "- Changes will be pushed to $branch_remote"
+ [ ! -z "$branch_remote" ] && echo "- Changes will be pushed to $branch_remote"
echo
echo "Follow-up actions:"
echo "- Bump the version number now!"

0 comments on commit 362bdf9

Please sign in to comment.