diff options
author | Cody Frazer <fresham@users.noreply.github.com> | 2016-03-20 10:10:51 -0500 |
---|---|---|
committer | Cody Frazer <fresham@users.noreply.github.com> | 2016-03-20 10:10:51 -0500 |
commit | 1828def8668dc95326a0f084e9c8370742656bc8 (patch) | |
tree | 6abc302694fbf11f32d6d3dc54de90d7a569dffe /share | |
parent | dedc7f6f03cbdea41a851779af83db19893c5558 (diff) |
Add `--no-index` option completion for `git diff`
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/git.fish | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish index 5130ec34..8ffdb071 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -323,6 +323,7 @@ complete -f -c git -n '__fish_git_using_command commit' -a '(__fish_git_modified complete -c git -n '__fish_git_needs_command' -a diff -d 'Show changes between commits, commit and working tree, etc' complete -c git -n '__fish_git_using_command diff' -a '(__fish_git_ranges)' -d 'Branch' complete -c git -n '__fish_git_using_command diff' -l cached -d 'Show diff of changes in the index' +complete -c git -n '__fish_git_using_command diff' -l no-index -d 'Compare two paths on the filesystem' # TODO options ### difftool |