No expand args for git reset
This commit is contained in:
@@ -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|reset|rm|blame|diff|add|log|rebase)
|
checkout|commit|rm|blame|diff|add|log|rebase)
|
||||||
exec_scmb_expand_args "$_git_cmd" "$@";;
|
exec_scmb_expand_args "$_git_cmd" "$@";;
|
||||||
branch)
|
branch)
|
||||||
_scmb_git_branch_shortcuts "${@:2}";;
|
_scmb_git_branch_shortcuts "${@:2}";;
|
||||||
|
|||||||
Reference in New Issue
Block a user