From 7eeb60659972e0150258f59379e16b5ee2e8343f Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Wed, 13 Jun 2007 16:40:06 +0000 Subject: 23557: complete filenames after 'git reset '. --- Completion/Unix/Command/_git | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_git') 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 () { -- cgit v1.2.3