bash completion: add doubledash to "git show"
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Markus Heidelberg committed
Oct 31, 2008 at 01:04 UTC
41d8cf7d7fd79fe1fd00b04052c49bffaedfd309
1 file changed
+2
contrib/completion/git-completion.bash
+2
@@ -1410,6 +1410,8 @@ _git_shortlog ()
1410
1411
_git_show ()
1412
{
1413
+ __git_has_doubledash && return
1414
+
1415
local cur="${COMP_WORDS[COMP_CWORD]}"
1416
case "$cur" in
1417
--pretty=*)