diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2008-10-31 01:04:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-31 00:46:27 -0700 |
commit | 41d8cf7d7fd79fe1fd00b04052c49bffaedfd309 (patch) | |
tree | 98145f24a377a664c39d5920521fb919638a679e /contrib | |
parent | 111539a3c75c22df7f1bbe242ce2f886b01d2491 (diff) | |
download | git-41d8cf7d7fd79fe1fd00b04052c49bffaedfd309.tar.gz git-41d8cf7d7fd79fe1fd00b04052c49bffaedfd309.tar.xz |
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>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/completion/git-completion.bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 751e273e1..39a1ce5a3 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1410,6 +1410,8 @@ _git_shortlog () _git_show () { + __git_has_doubledash && return + local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in --pretty=*) |