diff --git a/share/completions/git.fish b/share/completions/git.fish index 8cc1202b6..7267db2d0 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1587,6 +1587,7 @@ complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_ complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a create -d 'Create a stash' complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a save -d 'Save a new stash' complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a branch -d 'Create a new branch from a stash' +complete -f -c git -n '__fish_git_using_command stash; and __fish_git_stash_not_using_subcommand' -a push -d 'Create a new stash with given files' complete -f -c git -n '__fish_git_stash_using_command apply' -a '(__fish_git_complete_stashes)' complete -f -c git -n '__fish_git_stash_using_command branch' -a '(__fish_git_complete_stashes)' @@ -1594,6 +1595,10 @@ complete -f -c git -n '__fish_git_stash_using_command drop' -a '(__fish_git_comp complete -f -c git -n '__fish_git_stash_using_command pop' -a '(__fish_git_complete_stashes)' complete -f -c git -n '__fish_git_stash_using_command show' -a '(__fish_git_complete_stashes)' +complete -f -c git -n '__fish_git_stash_using_command push' -a '(__fish_git_files modified deleted)' +complete -f -c git -n '__fish_git_stash_using_command push' -s p -l patch -d 'Interactively select hunks' +complete -f -c git -n '__fish_git_stash_using_command push' -s m -l message -d 'Add a description' + ### config complete -f -c git -n '__fish_git_needs_command' -a config -d 'Set and read git configuration variables' # TODO options