completion: add --show-signature for log and show
authorDavid Aguilar <davvid@gmail.com>
Sat, 4 Oct 2014 23:20:38 +0000 (16:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Oct 2014 19:00:48 +0000 (12:00 -0700)
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
index 5ea5b82d2b6c54111c059a1c844c6e9f0b3d3a79..2ed230a861248f510e8e9d4597faef6f14ffd552 100644 (file)
@@ -1467,6 +1467,7 @@ _git_log ()
                        --abbrev-commit --abbrev=
                        --relative-date --date=
                        --pretty= --format= --oneline
                        --abbrev-commit --abbrev=
                        --relative-date --date=
                        --pretty= --format= --oneline
+                       --show-signature
                        --cherry-pick
                        --graph
                        --decorate --decorate=
                        --cherry-pick
                        --graph
                        --decorate --decorate=
@@ -2344,6 +2345,7 @@ _git_show ()
                ;;
        --*)
                __gitcomp "--pretty= --format= --abbrev-commit --oneline
                ;;
        --*)
                __gitcomp "--pretty= --format= --abbrev-commit --oneline
+                       --show-signature
                        $__git_diff_common_options
                        "
                return
                        $__git_diff_common_options
                        "
                return