Re-add git reset to the expanded numeric commands

This commit is contained in:
Nathan Broadbent
2013-08-15 23:47:09 -07:00
parent e9f3fd7a7c
commit a6a23b0a3d

View File

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