From 942f2bdd908c29d69d0fd4784546b442036dd37a Mon Sep 17 00:00:00 2001 From: Antti Salminen Date: Sat, 9 Jan 2016 13:41:38 +0200 Subject: [PATCH] Expand arguments for git difftool. --- lib/git/aliases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/aliases.sh b/lib/git/aliases.sh index 4ba816d..4cbdaed 100644 --- a/lib/git/aliases.sh +++ b/lib/git/aliases.sh @@ -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" "$@";;