From 15fdfb5afe86f9b353cf5f5a1afce4d87a9bd4fa Mon Sep 17 00:00:00 2001 From: Collin Styles Date: Mon, 3 Feb 2020 16:54:06 -0800 Subject: [PATCH] Add completion for `--abbrev-ref` option to git-rev-parse --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index b91ff7bf7..7777a472f 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1601,6 +1601,7 @@ complete -f -c git -n __fish_git_needs_command -a rev-parse -d 'Pick out and mas complete -f -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_branches)' complete -f -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_heads)' -d Head complete -k -c git -n '__fish_git_using_command rev-parse' -a '(__fish_git_tags)' -d Tag +complete -c git -n '__fish_git_using_command rev-parse' -l abbrev-ref -d 'A non-ambiguous short name of the objects name' ### revert complete -f -c git -n __fish_git_needs_command -a revert -d 'Revert an existing commit'