From f1a6e77b72475fe2d8deb97838a44634d5c8b27d Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 27 Mar 2023 22:37:01 +0200 Subject: [PATCH] completions/git: Complete branches for --set-upstream-to See #9538 (cherry picked from commit 563b4d23721cebf056356a7481d394329906745a) --- 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 a5880bf98..f4d058914 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1233,7 +1233,7 @@ complete -f -c git -n '__fish_git_using_command branch' -s a -l all -d 'Lists bo complete -f -c git -n '__fish_git_using_command branch' -s r -l remotes -d 'List or delete (if used with -d) the remote-tracking branches.' complete -f -c git -n '__fish_git_using_command branch' -s t -l track -l track -d 'Track remote branch' complete -f -c git -n '__fish_git_using_command branch' -l no-track -d 'Do not track remote branch' -complete -f -c git -n '__fish_git_using_command branch' -l set-upstream-to -d 'Set remote branch to track' +complete -f -c git -n '__fish_git_using_command branch' -l set-upstream-to -d 'Set remote branch to track' -ka '(__fish_git_branches)' 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'