Skip to content

Commit

Permalink
Expand arguments for git difftool.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsalminen authored and ghthor committed Aug 28, 2016
1 parent d804b28 commit 942f2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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
commit|blame|add|log|rebase|merge)
commit|blame|add|log|rebase|merge|difftool)
exec_scmb_expand_args "$_git_cmd" "$@";;
checkout|diff|rm|reset)
exec_scmb_expand_args --relative "$_git_cmd" "$@";;
Expand Down

0 comments on commit 942f2bd

Please sign in to comment.