1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02: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

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