about summary refs log tree commit diff
path: root/Doc/Zsh/func.yo
diff options
context:
space:
mode:
authorm0viefreak <m0viefreak.cm@googlemail.com>2014-02-17 05:00:37 +0100
committerFrank Terbeck <ft@bewatermyfriend.org>2014-02-18 12:22:16 +0100
commit139ee0e351d8b79f25319054714ec669d13ae87e (patch)
tree00eeab90726aaad234cbad125573d9cc4ea47d6b /Doc/Zsh/func.yo
parent946a99a0b34adc5cbb57fb5e8f3739cc0fcd8ed5 (diff)
downloadzsh-139ee0e351d8b79f25319054714ec669d13ae87e.tar.gz
zsh-139ee0e351d8b79f25319054714ec669d13ae87e.tar.xz
zsh-139ee0e351d8b79f25319054714ec669d13ae87e.zip
32395: _git: diff: refactor and fix wrong completions
Before this, there were several cases where the completion
would offer the wrong things:

$ git diff branch -- <tab>

would try to complete "changed in workdir files", but needs to
complete all "tree files in HEAD".

$ git diff --cached -- file1 file2 <tab>
would try to complete "changed in workdir files" but needs to
complete "changed in index files".

...

After this change all possible combinations are taken into
account and completion should work properly.
Diffstat (limited to 'Doc/Zsh/func.yo')
0 files changed, 0 insertions, 0 deletions