diff --git a/lib/git/aliases.sh b/lib/git/aliases.sh index 0d0080b..41db79f 100644 --- a/lib/git/aliases.sh +++ b/lib/git/aliases.sh @@ -24,9 +24,9 @@ if type hub > /dev/null 2>&1; then export _git_cmd="hub"; fi # Create 'git' function that calls hub if defined, and expands all numeric arguments function git(){ - # Only expand args for a subset of git commands + # Only expand args for git commands that deal with paths or branches case $1 in - checkout|commit|reset|rm|blame|diff|add|log) + checkout|commit|reset|rm|blame|diff|add|log|rebase) exec_scmb_expand_args "$_git_cmd" "$@";; branch) _scmb_git_branch_shortcuts "${@:2}";;