[Bash-completion-commits] [bash-completion] 01/01: gendiff: Quoting suffix pattern to avoid triggering failglob

Ville Skyttä scop-guest at moszumanska.debian.org
Thu Jun 5 19:52:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 154f3884139825a38e161c2e66837a35e9aa3841
Author: Damien Nadé <alioth at livna.org>
Date:   Wed Jun 4 23:17:07 2014 +0200

    gendiff: Quoting suffix pattern to avoid triggering failglob
---
 completions/gendiff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/completions/gendiff b/completions/gendiff
index 38c0828..3b5d7cf 100644
--- a/completions/gendiff
+++ b/completions/gendiff
@@ -3,7 +3,7 @@
 _gendiff()
 {
     local cur prev words cword
-    _init_completion -o @(diff|patch) || return
+    _init_completion -o '@(diff|patch)' || return
 
     [[ $cword -eq 1 ]] && _filedir -d
 } &&

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list