diff mbox series

[2/2] completion: add --skip for cherry-pick and revert

Message ID 75adf581589dcce1a679d63977b1c82d333b0f77.1566637431.git.liu.denton@gmail.com (mailing list archive)
State New, archived
Headers show
Series completion: complete --skip for cherry-pick and revert | expand

Commit Message

Denton Liu Aug. 24, 2019, 9:04 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(-)
diff mbox series

Patch

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 62f8ef600d..ebcfb5a5af 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1361,7 +1361,7 @@  _git_checkout ()
 	esac
 }
 
-__git_cherry_pick_revert_inprogress_options="--continue --quit --abort"
+__git_cherry_pick_revert_inprogress_options="--continue --quit --abort --skip"
 
 _git_cherry_pick ()
 {