Add completion for --abbrev-ref option to git-rev-parse

This commit is contained in:
Collin Styles 2020-02-03 16:54:06 -08:00 committed by Johannes Altmanninger
parent c9f397b968
commit 15fdfb5afe

View File

@ -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'