From 5844353e8541d5868d6487c6910885dc73b3a2be Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 12 Sep 2022 20:55:38 +0200 Subject: [PATCH] completions/git: Fix apply --apply This used the wrong function --- 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 add9ff84b..660009980 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1159,7 +1159,7 @@ complete -f -c git -n '__fish_git_using_command apply' -n '__fish_git_contains_o complete -x -c git -n '__fish_git_using_command apply am' -s p -d 'Remove n leading path components' complete -x -c git -n '__fish_git_using_command apply am' -s C -d 'Ensure n that lines of surrounding context match' complete -f -c git -n '__fish_git_using_command apply' -l unidiff-zero -d 'Do not break on diffs generated using --unified=0' -complete -f -c git -n '__fish_git_needs_command apply' -l apply -d 'Always apply patches' +complete -f -c git -n '__fish_git_using_command apply' -l apply -d 'Always apply patches' complete -f -c git -n '__fish_git_using_command apply' -l no-add -d 'Ignore additions made by patches' complete -f -c git -n '__fish_git_using_command apply' -l allow-binary-replacement -l binary -d 'Also patch binaries' complete -F -c git -n '__fish_git_using_command apply' -l exclude -d 'Dont apply changes to files matching given pattern'