mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue