From 190fb4a66561c6ab764d73d7e06b7f3b39fe69ea Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 15 Jul 2016 22:04:12 +0200 Subject: [PATCH] git completion: add --stat to show Of the various options for show, --stat is the one I regularly use to know the size of a commit. --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 1b52b1d3a..e2352c4a1 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -300,6 +300,7 @@ complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_branches)' complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_unique_remote_branches)' -d 'Remote branch' complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_tags)' --description 'Tag' complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_commits)' +complete -f -c git -n '__fish_git_using_command show' -l stat -d 'Generate a diffstat, showing the number of changed lines of each file' # TODO options ### show-branch