[completions/git] Add rebase --exec

Fixes #5236.
This commit is contained in:
Fabian Homborg 2018-10-08 15:43:45 +02:00
parent ca159ae4b8
commit 728dd25665

View file

@ -1241,6 +1241,8 @@ complete -f -c git -n '__fish_git_using_command rebase' -l root -d 'Rebase all r
complete -f -c git -n '__fish_git_using_command rebase' -l autosquash -d 'Automatic squashing'
complete -f -c git -n '__fish_git_using_command rebase' -l no-autosquash -d 'No automatic squashing'
complete -f -c git -n '__fish_git_using_command rebase' -l no-ff -d 'No fast-forward'
# This actually takes script for $SHELL, but completing that is... complicated.
complete -r -c git -n '__fish_git_using_command rebase' -l exec -d 'Execute shellscript'
### reset
complete -c git -n '__fish_git_needs_command' -a reset -d 'Reset current HEAD to the specified state'