aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar Daniel Bergmann <brgmnn@users.noreply.github.com>2016-05-07 03:05:44 -0700
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-05-08 14:07:32 +0200
commitc53951b9b3a340de049c6b5417b99f88f4427f47 (patch)
tree4b5436d8b38ec35c03dfa36469748965e3be24d8 /share
parent46b819a26502a203e4a6c3d1f296789a98d787e9 (diff)
Add tags to completion list for git show. (#2998)
(cherry picked from commit ac47100a7d89d53fa2c44c7de692617741387f38)
Diffstat (limited to 'share')
-rw-r--r--share/completions/git.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index e4e0ba36..1f25d9fd 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -245,6 +245,7 @@ complete -f -c git -n "__fish_git_using_command remote; and __fish_seen_subcomma
complete -f -c git -n '__fish_git_needs_command' -a show -d 'Shows the last commit of a branch'
complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_branches)' -d 'Branch'
complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_unique_remote_branches)' -d 'Remote branch'
+complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_tags)' --description 'Tag'
complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_commits)'
# TODO options