Permalink
Browse files

Merge branch 'release/0.3.2'

  • Loading branch information...
2 parents 5a5e03f + 289fb03 commit 0eb91c81a9238517ec458bd42ee0576dcf552231 @bobthecow committed Sep 28, 2010
Showing with 6 additions and 1 deletion.
  1. +6 −1 git-flow-completion.bash
View
@@ -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 ()

0 comments on commit 0eb91c8

Please sign in to comment.