[v2,2/3] completion: add --skip for cherry-pick and revert
diff mbox series

Message ID c83feb3d6e15ee4666310aa0ac94596faec56d94.1566880835.git.liu.denton@gmail.com
State New
Headers show
Series
  • advertise --skip for cherry-pick and revert better
Related show

Commit Message

Denton Liu Aug. 27, 2019, 4:45 a.m. UTC
Even though `--skip` is a valid command-line option for cherry-pick and
revert while they are in progress, it is not completed. Add this missing
option to the completion script.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index a7d3f58627..b4651411b2 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1361,7 +1361,7 @@  _git_checkout ()
 	esac
 }
 
-__git_sequencer_inprogress_options="--continue --quit --abort"
+__git_sequencer_inprogress_options="--continue --quit --abort --skip"
 
 __git_cherry_pick_inprogress_options=$__git_sequencer_inprogress_options