From 139ee0e351d8b79f25319054714ec669d13ae87e Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Mon, 17 Feb 2014 05:00:37 +0100 Subject: 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 -- would try to complete "changed in workdir files", but needs to complete all "tree files in HEAD". $ git diff --cached -- file1 file2 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. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') 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 * unposted (users/18468): Doc/Zsh/builtins.yo, Doc/Zsh/params.yo: -- cgit 1.4.1