diff --git a/share/completions/git.fish b/share/completions/git.fish index f3b08303f..5d87e4188 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1263,6 +1263,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 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 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 set -l bundlecommands create verify list-heads unbundle