From c5fce37bced3c516bfb47cb84f336598fc26b277 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 10 Feb 2012 17:09:05 +0000 Subject: 30199: add (-.) to many completion _files globs --- Completion/Unix/Command/_git | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_git') diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 8a48c04b7..5ed921850 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -3636,7 +3636,7 @@ _git-index-pack () { '--stdin[read pack from stdin and instead write to specified file]' \ $stdin_opts \ '--strict[die if the pack contains broken objects or links]' \ - ':pack file:_files -g "*.pack"' + ':pack file:_files -g "*.pack(-.)"' } (( $+functions[_git-merge-file] )) || @@ -4075,7 +4075,7 @@ _git-pack-redundant () { '(:)--all[process all packs]' \ '--alt-odb[do not require objects to be present in local packs]' \ '--verbose[output some statistics to standard error]' \ - '(--all)*::packs:_files -g "*.pack"' + '(--all)*::packs:_files -g "*.pack(-.)"' } (( $+functions[_git-rev-list] )) || -- cgit 1.4.1