From 49d75ff689ce98e45d3f77f2bedce756de384a81 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 26 May 2022 14:16:31 +0200 Subject: [PATCH] completions/git: Print all known files for `git log` --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 8606c5df2..7089e02ed 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1394,6 +1394,7 @@ complete -f -c git -n '__fish_git_using_command init' -l bare -d 'Create a bare complete -c git -n __fish_git_needs_command -a shortlog -d 'Show commit shortlog' complete -c git -n __fish_git_needs_command -a log -d 'Show commit logs' complete -c git -n '__fish_git_using_command log; and not contains -- -- (commandline -opc)' -k -a '(__fish_git_ranges)' +complete -c git -n '__fish_git_using_command log' -a '(git ls-files)' complete -c git -n '__fish_git_using_command log' -l follow -d 'Continue listing file history beyond renames' complete -c git -n '__fish_git_using_command log' -l no-decorate -d 'Don\'t print ref names' complete -f -c git -n '__fish_git_using_command log' -l decorate -a 'short\tHide\ prefixes full\tShow\ full\ ref\ names auto\tHide\ prefixes\ if\ printed\ to\ terminal no\tDon\\\'t\ display\ ref' -d 'Print out ref names'