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-07 12:05:44 +0200
commitac47100a7d89d53fa2c44c7de692617741387f38 (patch)
treea9ac1728a689635313c04db68c7184679b560a9e /share
parent01e5ca5c9679b8745f660469afc1995c3c44f3fd (diff)
Add tags to completion list for git show. (#2998)
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 d47d059a..d8e7b1a8 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