From 0abbd2bc2fe38dcc139b2abca407170d5306b3c3 Mon Sep 17 00:00:00 2001 From: Collin Styles Date: Fri, 7 Feb 2020 16:04:37 -0800 Subject: [PATCH] Add completions for git-revert sequencer subcommands --- share/completions/git.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 7777a472f..b213dfa1f 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1606,6 +1606,9 @@ complete -c git -n '__fish_git_using_command rev-parse' -l abbrev-ref -d 'A non- ### revert complete -f -c git -n __fish_git_needs_command -a revert -d 'Revert an existing commit' complete -f -c git -n '__fish_git_using_command revert' -ka '(__fish_git_commits)' +complete -f -c git -n '__fish_git_using_command revert' -l continue -d 'Continue the operation in progress' +complete -f -c git -n '__fish_git_using_command revert' -l abort -d 'Cancel the operation' +complete -f -c git -n '__fish_git_using_command revert' -l skip -d 'Skip the current commit and continue with the rest of the sequence' # TODO options ### rm