mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:24:47 +08:00
Add completion for --abbrev-ref
option to git-rev-parse
This commit is contained in:
parent
c9f397b968
commit
15fdfb5afe
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user