diff --git a/etc/bash_completion.sh b/etc/bash_completion.sh index fb780e0..4b5bedc 100644 --- a/etc/bash_completion.sh +++ b/etc/bash_completion.sh @@ -61,7 +61,18 @@ _git_delete_tag(){ } _git_effort(){ - __gitcomp "--above" + __git_has_doubledash && return + + case "$cur" in + --*) + __gitcomp " + --above + $__git_log_common_options + $__git_log_shortlog_options + " + return + ;; + esac } _git_extras(){