From b8028c1b1d3137a52edf842531819a5e597d7817 Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Fri, 24 May 2013 14:10:00 +0200 Subject: [PATCH] added options for git add --- share/completions/git.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index a275785e5..e349e1e21 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -98,6 +98,8 @@ complete -f -c git -n '__fish_git_using_command show-branch' -a '(__fish_git_hea ### add complete -c git -n '__fish_git_needs_command' -a add -d 'Add file contents to the index' complete -f -c git -n '__fish_git_using_command add; and __fish_contains_opt -s p patch' -a (__fish_git_modified_files) +complete -f -c git -n '__fish_git_using_command add' -s p -d 'Interactively add hunks to staging area' +complete -f -c git -n '__fish_git_using_command add' -s u -d 'Update already tracked files' # TODO options ### checkout