summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-06-14 08:46:23 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-14 08:46:23 -0700
commitbdff0e3a374617dce784f801b97500d9ba2e4705 (patch)
treeb4d969695a5ee49e325b535ea9742c0cf819c4fb
parentMerge branch 'mt/send-email-cc-match-fix' (diff)
parentcompletion: show can take both revlist and paths (diff)
downloadtgif-bdff0e3a374617dce784f801b97500d9ba2e4705.tar.xz
Merge branch 'rr/complete-difftool-fixup'
"git difftool" can take both revs to be compared and pathspecs. "git show" takes revs, revs:path and pathspecs. * rr/complete-difftool-fixup: completion: show can take both revlist and paths completion: difftool takes both revs and files
-rw-r--r--contrib/completion/git-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 56c52c6654..fd9a1d5f6c 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1211,7 +1211,7 @@ _git_difftool ()
return
;;
esac
- __git_complete_file
+ __git_complete_revlist_file
}
__git_fetch_options="
@@ -2277,7 +2277,7 @@ _git_show ()
return
;;
esac
- __git_complete_file
+ __git_complete_revlist_file
}
_git_show_branch ()