From 0f18a4f92b2c12e4a29332090c19289713860fb7 Mon Sep 17 00:00:00 2001 From: NextAlone <12210746+NextAlone@users.noreply.github.com> Date: Sat, 14 May 2022 22:44:54 +0800 Subject: [PATCH] fix: `git ls-files` --stage --- 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 e63972bc8..8a20bca05 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1554,7 +1554,7 @@ complete -c git -n '__fish_git_using_command ls-files' -s d -l deleted -d 'Show complete -c git -n '__fish_git_using_command ls-files' -s m -l modified -d 'Show modified files in the output' complete -c git -n '__fish_git_using_command ls-files' -s o -l others -d 'Show other (i.e. untracked) files in the output' complete -c git -n '__fish_git_using_command ls-files' -s i -l ignored -d 'Show only ignored files in the output' -complete -c git -n '__fish_git_using_command ls-files' -s s -l staged -d "Show staged contents' mode bits, object name and stage number in the output" +complete -c git -n '__fish_git_using_command ls-files' -s s -l stage -d "Show staged contents' mode bits, object name and stage number in the output" complete -c git -n '__fish_git_using_command ls-files' -l directory -d 'If a whole directory is classified as "other", show just its name' complete -c git -n '__fish_git_using_command ls-files' -l no-empty-directory -d 'Do not list empty directories' complete -c git -n '__fish_git_using_command ls-files' -s u -l unmerged -d 'Show unmerged files in the output'