1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 16:40:29 +01:00

23557: complete filenames after 'git reset <revision>'.

This commit is contained in:
Clint Adams 2007-06-13 16:40:06 +00:00
parent 6773863b05
commit 7eeb606599
2 changed files with 5 additions and 1 deletions

View file

@ -3,6 +3,9 @@
* 23556: Completion/Unix/Command/_rrdtool: completion
for rrdtool.
* 23557: Completion/Unix/Command/_git: complete
filenames after 'git reset <revision>'.
2007-06-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 23554: Doc/Zsh/mod_sched.yo, Doc/Zsh/params.yo,

View file

@ -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 () {