No expand args for git reset

This commit is contained in:
Nathan Broadbent
2013-02-03 13:35:59 +13:00
parent dd10be79e2
commit adedf86971

View File

@@ -26,7 +26,7 @@ if type hub > /dev/null 2>&1; then export _git_cmd="hub"; fi
function git(){
# Only expand args for git commands that deal with paths or branches
case $1 in
checkout|commit|reset|rm|blame|diff|add|log|rebase)
checkout|commit|rm|blame|diff|add|log|rebase)
exec_scmb_expand_args "$_git_cmd" "$@";;
branch)
_scmb_git_branch_shortcuts "${@:2}";;