Intégration de la branche quiet-completion

This commit is contained in:
Jephté Clain 2015-05-22 11:41:10 +04:00
commit 2984052aad
1 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@
function __pdev_branches() { function __pdev_branches() {
local prefix=origin/ local prefix=origin/
{ {
git for-each-ref refs/heads/ --format='%(refname:short)' git for-each-ref refs/heads/ --format='%(refname:short)' 2>/dev/null
git for-each-ref "refs/remotes/$prefix" --format='%(refname:short)' | grep -F "$prefix" | cut -c $((${#prefix} + 1))- git for-each-ref "refs/remotes/$prefix" --format='%(refname:short)' 2>/dev/null | grep -F "$prefix" | cut -c $((${#prefix} + 1))-
} | LANG=C sort -u | } | LANG=C sort -u |
grep -vF HEAD | grep -vF HEAD |
grep -vF master | grep -vF master |
@ -12,6 +12,6 @@ function __pdev_branches() {
grep -v '^hotfix-' grep -v '^hotfix-'
} }
function __prel_branches() { function __prel_branches() {
git for-each-ref --format='%(refname:short)' refs/heads | git for-each-ref --format='%(refname:short)' refs/heads 2>/dev/null |
grep -E '^(master$|release-)' grep -E '^(master$|release-)'
} }