|
|
@ -26,6 +26,7 @@ case "$state" in |
|
|
|
remote="$words[(($CURRENT - 1))]" |
|
|
|
remote="$words[(($CURRENT - 1))]" |
|
|
|
branches=($( |
|
|
|
branches=($( |
|
|
|
git branch -r \ |
|
|
|
git branch -r \ |
|
|
|
|
|
|
|
| grep "${remote}/" \ |
|
|
|
| sed \ |
|
|
|
| sed \ |
|
|
|
-e "/${remote}\/HEAD -> ${remote}/d" \ |
|
|
|
-e "/${remote}\/HEAD -> ${remote}/d" \ |
|
|
|
-e "s/^[[:space:]]*${remote}\///g" |
|
|
|
-e "s/^[[:space:]]*${remote}\///g" |
|
|
|