Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add git merge to the expanded numeric commands #106

Merged
merged 1 commit into from

2 participants

@tuxinaut

Hello,

i was a little bit confused that was no git merge commands be expanded. After i add the merge command to the expanded commands. I was able to use git merge with numbers :)

I have tested it with single and more single numbers and it worked good.

Objections?

@ndbroadbent
Owner

Looks good, thanks!

@ndbroadbent ndbroadbent merged commit 465bb26 into ndbroadbent:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 26, 2013
  1. Add git merge to the expanded numeric commands

    Denny Schäfer authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/git/aliases.sh
View
2  lib/git/aliases.sh
@@ -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|rm|blame|diff|add|log|rebase|reset)
+ checkout|commit|rm|blame|diff|add|log|rebase|reset|merge)
exec_scmb_expand_args "$_git_cmd" "$@";;
branch)
_scmb_git_branch_shortcuts "${@:2}";;
Something went wrong with that request. Please try again.