From a24ceaf0df76a475ba470007f1f5a22b64fc6968 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 24 Dec 2020 09:42:16 +0100 Subject: [PATCH] completions/git: offer ranges for cherry-pick --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index bceedd3fd..ded4e1f0b 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1016,7 +1016,7 @@ complete -f -c git -n '__fish_git_using_command cherry' -k -a '(__fish_git_refs) ### cherry-pick complete -f -c git -n __fish_git_needs_command -a cherry-pick -d 'Apply the change introduced by an existing commit' -complete -f -c git -n '__fish_git_using_command cherry-pick' -a '(__fish_git_branches --no-merged)' +complete -f -c git -n '__fish_git_using_command cherry-pick' -k -a '(__fish_git_ranges)' # TODO: Filter further complete -f -c git -n '__fish_git_using_command cherry-pick; and __fish_git_possible_commithash' -ka '(__fish_git_commits)' complete -f -c git -n '__fish_git_using_command cherry-pick' -s e -l edit -d 'Edit the commit message prior to committing'