Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'release/0.3.2'

  • Loading branch information...
commit 0eb91c81a9238517ec458bd42ee0576dcf552231 2 parents 5a5e03f + 289fb03
@bobthecow authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 git-flow-completion.bash
View
7 git-flow-completion.bash
@@ -112,7 +112,12 @@ __git_flow_list_features ()
__git_flow_list_remote_features ()
{
- git branch -r 2> /dev/null | grep 'origin/feature/' | awk '{ sub(/^origin\/feature\//, "", $1); print }'
+ git branch -r 2> /dev/null | grep "origin/$(__git_flow_feature_prefix)" | awk '{ sub(/^origin\/$(__git_flow_feature_prefix)/, "", $1); print }'
+}
+
+__git_flow_feature_prefix ()
+{
+ git config gitflow.prefix.feature 2> /dev/null || echo "feature/"
}
__git_flow_release ()
Please sign in to comment.
Something went wrong with that request. Please try again.