about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2012-02-10 17:09:05 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2012-02-10 17:09:05 +0000
commitc5fce37bced3c516bfb47cb84f336598fc26b277 (patch)
tree8636c3ef1f60f92348177a2916781e36fc8b3656 /Completion/Unix/Command/_git
parent32eb4faf7c4295d029533ff85473894887f2bc36 (diff)
downloadzsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.gz
zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.xz
zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.zip
30199: add (-.) to many completion _files globs
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
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] )) ||