From 396e01a0e04462c3433f39ff6e4ece8eb5714da5 Mon Sep 17 00:00:00 2001 From: Jan Ernsting Date: Fri, 4 Sep 2015 19:59:55 +0200 Subject: [PATCH] Add missing description git reset allows for files and branches as completion results --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index b385b5f72..2e0b17d29 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