aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
diff options
context:
space:
mode:
authorGravatar Jan Ernsting <jan.ernsting@gmail.com>2015-09-04 19:59:55 +0200
committerGravatar Jan Ernsting <jan.ernsting@gmail.com>2015-09-07 11:05:47 +0200
commit396e01a0e04462c3433f39ff6e4ece8eb5714da5 (patch)
tree29663e13d7d7e570271dbbb91b35e8559a58fdf0 /share/completions/git.fish
parent787c1304c6026a40f108b67fd8ffa9eb540a4024 (diff)
Add missing description
git reset allows for files and branches as completion results
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r--share/completions/git.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index b385b5f7..2e0b17d2 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -360,7 +360,7 @@ complete -f -c git -n '__fish_git_using_command rebase' -l no-ff -d 'No fast-for
### reset
complete -c git -n '__fish_git_needs_command' -a reset -d 'Reset current HEAD to the specified state'
complete -f -c git -n '__fish_git_using_command reset' -l hard -d 'Reset files in working directory'
-complete -c git -n '__fish_git_using_command reset' -a '(__fish_git_branches)'
+complete -c git -n '__fish_git_using_command reset' -a '(__fish_git_branches)' -d 'Branch'
complete -f -c git -n '__fish_git_using_command reset' -a '(__fish_git_staged_files)' -d 'File'
# TODO options