mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Add git branch --[no-,contains]
completions (#10133)
* Add `git branch --[no-,contains]` completions * Add __fish_git_commits as an argument
This commit is contained in:
parent
684f44bca3
commit
8c36c21e2e
1 changed files with 2 additions and 0 deletions
|
@ -1275,6 +1275,8 @@ complete -f -c git -n '__fish_git_using_command branch' -l set-upstream-to -d 'S
|
||||||
complete -f -c git -n '__fish_git_using_command branch' -l merged -d 'List branches that have been merged'
|
complete -f -c git -n '__fish_git_using_command branch' -l merged -d 'List branches that have been merged'
|
||||||
complete -f -c git -n '__fish_git_using_command branch' -l no-merged -d 'List branches that have not been merged'
|
complete -f -c git -n '__fish_git_using_command branch' -l no-merged -d 'List branches that have not been merged'
|
||||||
complete -f -c git -n '__fish_git_using_command branch' -l unset-upstream -d 'Remove branch upstream information'
|
complete -f -c git -n '__fish_git_using_command branch' -l unset-upstream -d 'Remove branch upstream information'
|
||||||
|
complete -f -c git -n '__fish_git_using_command branch' -l contains -d 'List branches that contain the specified commit' -xa '(__fish_git_commits)'
|
||||||
|
complete -f -c git -n '__fish_git_using_command branch' -l no-contains -d 'List branches that don\'t contain the specified commit' -xa '(__fish_git_commits)'
|
||||||
|
|
||||||
### bundle
|
### bundle
|
||||||
set -l bundlecommands create verify list-heads unbundle
|
set -l bundlecommands create verify list-heads unbundle
|
||||||
|
|
Loading…
Reference in a new issue