- move alias from git plugin to git-svn

- use local variables for the get_svnversion function
This commit is contained in:
Simon 2012-02-23 14:02:13 +01:00
commit b3277242f0
2 changed files with 15 additions and 12 deletions

View file

@ -39,12 +39,6 @@ compdef _git gm=git-merge
alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard'
# Git and svn mix
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
compdef git-svn-dcommit-push=git
alias gsr='git svn rebase'
alias gsd='git svn dcommit'
#
# Will return the current branch name
# Usage example: git pull origin $(current_branch)
@ -60,4 +54,4 @@ compdef ggpull=git
alias ggpush='git push origin $(current_branch)'
compdef ggpush=git
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
compdef ggpnp=git
compdef ggpnp=git