mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 15:05:27 +08:00
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.
This commit is contained in:
parent
20f28c2ef3
commit
190fb4a665
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user