diff options
author | Clint Adams <clint@users.sourceforge.net> | 2007-06-13 16:40:06 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2007-06-13 16:40:06 +0000 |
commit | 7eeb60659972e0150258f59379e16b5ee2e8343f (patch) | |
tree | 70c4b62358a460c15d6e2b1c9e1858b0f13d3635 /Completion/Unix/Command | |
parent | 6773863b05cd19c7e919ce435bb70681833f4207 (diff) | |
download | zsh-7eeb60659972e0150258f59379e16b5ee2e8343f.tar.gz zsh-7eeb60659972e0150258f59379e16b5ee2e8343f.tar.xz zsh-7eeb60659972e0150258f59379e16b5ee2e8343f.zip |
23557: complete filenames after 'git reset <revision>'.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 7b76d5a90..4385a794d 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -865,7 +865,8 @@ _git-reset () { '( --soft --hard)--mixed[like --soft but report what has not been updated (default)]' \ '(--mixed --hard)--soft[do not touch the index file nor the working tree]' \ '(--mixed --soft )--hard[match the working tree and index to the given tree]' \ - ':commit-ish:__git_revisions' && ret=0 + ':commit-ish:__git_revisions' \ + '*:path:_files' && ret=0 } _git-resolve () { |