Skip to content

Commit

Permalink
Merge branch 'release/0.4.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow committed Apr 29, 2011
2 parents 5945702 + 821fa74 commit 429930f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -59,6 +59,6 @@ To achieve git-flow completion nirvana:
The Fine Print The Fine Print
-------------- --------------


Copyright (c) 2010 [Justin Hileman](http://justinhileman.com) Copyright (c) 2011 [Justin Hileman](http://justinhileman.com)


Distributed under the [MIT License](http://creativecommons.org/licenses/MIT/) Distributed under the [MIT License](http://creativecommons.org/licenses/MIT/)
6 changes: 3 additions & 3 deletions git-flow-completion.bash
Expand Up @@ -41,7 +41,7 @@
# The Fine Print # The Fine Print
# -------------- # --------------
# #
# Copyright (c) 2010 [Justin Hileman](http://justinhileman.com) # Copyright (c) 2011 [Justin Hileman](http://justinhileman.com)
# #
# Distributed under the [MIT License](http://creativecommons.org/licenses/MIT/) # Distributed under the [MIT License](http://creativecommons.org/licenses/MIT/)


Expand Down Expand Up @@ -181,14 +181,14 @@ __git_flow_prefix ()
__git_flow_list_branches () __git_flow_list_branches ()
{ {
local prefix="$(__git_flow_prefix $1)" local prefix="$(__git_flow_prefix $1)"
git branch 2> /dev/null | tr -d ' |*' | grep "^$prefix" | sed s,^$prefix,, git branch 2> /dev/null | tr -d ' |*' | grep "^$prefix" | sed s,^$prefix,, | sort
} }


__git_flow_list_remote_branches () __git_flow_list_remote_branches ()
{ {
local prefix="$(__git_flow_prefix $1)" local prefix="$(__git_flow_prefix $1)"
local origin="$(git config gitflow.origin 2> /dev/null || echo "origin")" local origin="$(git config gitflow.origin 2> /dev/null || echo "origin")"
git branch -r 2> /dev/null | sed "s/^ *//g" | grep "^$origin/$prefix" | sed s,^$origin/$prefix,, git branch -r 2> /dev/null | sed "s/^ *//g" | grep "^$origin/$prefix" | sed s,^$origin/$prefix,, | sort
} }


# alias __git_find_on_cmdline for backwards compatibility # alias __git_find_on_cmdline for backwards compatibility
Expand Down

0 comments on commit 429930f

Please sign in to comment.