diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2007-10-06 01:09:22 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2007-10-06 01:09:22 +0000 |
| commit | e18276d0317756908311930a4f57a0b182e7b1de (patch) | |
| tree | cbf61643add1571a19611a21becf82c9d086da29 | |
| parent | 23908: add missing backslash in _git-svn. (diff) | |
| download | zsh-e18276d0317756908311930a4f57a0b182e7b1de.tar zsh-e18276d0317756908311930a4f57a0b182e7b1de.tar.gz zsh-e18276d0317756908311930a4f57a0b182e7b1de.tar.bz2 zsh-e18276d0317756908311930a4f57a0b182e7b1de.tar.lz zsh-e18276d0317756908311930a4f57a0b182e7b1de.tar.xz zsh-e18276d0317756908311930a4f57a0b182e7b1de.tar.zst zsh-e18276d0317756908311930a4f57a0b182e7b1de.zip | |
Mikael Magnusson: 23907: add --cached option to git-diff completion.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Completion/Unix/Command/_git | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2007-10-06 Clint Adams <clint@zsh.org> + * Mikael Magnusson: 23907: Completion/Unix/Command/_git: add + --cached option to git-diff completion. + * 23908: Completion/Unix/Command/_git: add missing backslash in _git-svn. diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index ddc84c6e0..5ab64f817 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1585,6 +1585,7 @@ __git_zstyle_default ':completion::complete:git-commit:argument-rest:*' ignore-l _git-diff () { _arguments -S \ $diff_args \ + '--cached[show diff between index and named commit]' \ '::original revision:__git_commits' \ '::new revision:__git_commits' \ '*::index file:__git_modified_files' && ret=0 |
