about summary refs log tree commit diff
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e6f3e2e2..780eb5944 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 	* 32396: Completion/Unix/Command/_git: _git: fix
 	__git_committish_range_{first,last} and __git_is_committish_range
 
+	* 32395: Completion/Unix/Command/_git: _git: diff: refactor and
+	fix wrong completions
+
 2014-02-17  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* unposted (users/18468): Doc/Zsh/builtins.yo, Doc/Zsh/params.yo: