mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 17:56:15 +08:00
git completion: Allow --pretty for more commands
This _should_ be all of them.
This commit is contained in:
parent
76d24aa1bc
commit
a38d5504ac
|
@ -184,6 +184,7 @@ end
|
||||||
|
|
||||||
# general options
|
# general options
|
||||||
complete -f -c git -l help -d 'Display the manual of a git command'
|
complete -f -c git -l help -d 'Display the manual of a git command'
|
||||||
|
complete -f -c git -n '__fish_git_using_command log show diff-tree rev-list' -l pretty -a 'oneline short medium full fuller email raw format:'
|
||||||
|
|
||||||
#### fetch
|
#### fetch
|
||||||
complete -f -c git -n '__fish_git_needs_command' -a fetch -d 'Download objects and refs from another repository'
|
complete -f -c git -n '__fish_git_needs_command' -a fetch -d 'Download objects and refs from another repository'
|
||||||
|
@ -360,7 +361,6 @@ complete -f -c git -n '__fish_git_needs_command' -a init -d 'Create an empty git
|
||||||
### log
|
### log
|
||||||
complete -c git -n '__fish_git_needs_command' -a log -d 'Show commit logs'
|
complete -c git -n '__fish_git_needs_command' -a log -d 'Show commit logs'
|
||||||
complete -c git -n '__fish_git_using_command log' -a '(__fish_git_heads) (__fish_git_ranges)' -d 'Branch'
|
complete -c git -n '__fish_git_using_command log' -a '(__fish_git_heads) (__fish_git_ranges)' -d 'Branch'
|
||||||
complete -f -c git -n '__fish_git_using_command log' -l pretty -a 'oneline short medium full fuller email raw format:'
|
|
||||||
# TODO options
|
# TODO options
|
||||||
|
|
||||||
### merge
|
### merge
|
||||||
|
|
Loading…
Reference in New Issue
Block a user