Re: ZSH segmentation fault while completing git mv dir/

2013-04-03 Thread Matthieu Moy
Manlio Perillo manlio.peri...@gmail.com writes: By the way: have you filled a bug report to Debian? No, but this is a bug touching very few users, in Debian stable which is reaching its end of life. I do not think the Debian folks would be interested in fixing this non-security, non-critical

Re: ZSH segmentation fault while completing git mv dir/

2013-04-02 Thread Matthieu Moy
Felipe Contreras felipe.contre...@gmail.com writes: And this is a workaround: --- a/contrib/completion/git-completion.zsh +++ b/contrib/completion/git-completion.zsh @@ -66,7 +66,7 @@ __gitcomp_file () local IFS=$'\n' compset -P '*[=:]' - compadd -Q -p ${2-} -f --

Re: ZSH segmentation fault while completing git mv dir/

2013-04-02 Thread Junio C Hamano
Matthieu Moy matthieu@grenoble-inp.fr writes: Felipe Contreras felipe.contre...@gmail.com writes: And this is a workaround: --- a/contrib/completion/git-completion.zsh +++ b/contrib/completion/git-completion.zsh @@ -66,7 +66,7 @@ __gitcomp_file () local IFS=$'\n'

Re: ZSH segmentation fault while completing git mv dir/

2013-04-02 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: Would it help users more to have that as part of the instruction at the beginning of contrib/completion/git-completion.zsh where it already says here is how you use it via fpath, than leaving it here in the list archive? Juging from the answers I got,

Re: ZSH segmentation fault while completing git mv dir/

2013-04-02 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 02/04/2013 16:32, Matthieu Moy ha scritto: Felipe Contreras felipe.contre...@gmail.com writes: And this is a workaround: --- a/contrib/completion/git-completion.zsh +++ b/contrib/completion/git-completion.zsh @@ -66,7 +66,7 @@

Re: ZSH segmentation fault while completing git mv dir/

2013-04-01 Thread Felipe Contreras
On Tue, Mar 12, 2013 at 1:53 AM, Matthieu Moy matthieu@grenoble-inp.fr wrote: If I add a simple 'echo $cur 2' instead of the case, the problem reappears. Somehow, the fact that I'm accessing $cur seems to create the segfault. Actually, the minimalistic _git_mv reproducing the problem is:

Re: ZSH segmentation fault while completing git mv dir/

2013-03-12 Thread Matthieu Moy
Jeff Epler jep...@unpythonic.net writes: If it's dependent on eval `dircolors`, it suggests it might be dependent on the size of the environment. Maybe try with FOO=`perl -e 'print xx1000'` for various values of 1000... It's not this, but I could reduce the problem to a slightly simpler

ZSH segmentation fault while completing git mv dir/

2013-03-11 Thread Matthieu Moy
Hi, Since the recent update to bash completion, I often get a segmentation fault from ZSH. This is most likely a bug in ZSH, but it would be cool to avoid triggering it from Git. Steps to reproduce: moy@anie:/tmp$$ git init zsh Initialized empty Git repository in /tmp/zsh/.git/ moy@anie:/tmp$$

Re: ZSH segmentation fault while completing git mv dir/

2013-03-11 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 11/03/2013 13:30, Matthieu Moy ha scritto: Hi, Since the recent update to bash completion, I often get a segmentation fault from ZSH. This is most likely a bug in ZSH, but it would be cool to avoid triggering it from Git. [...]

Re: ZSH segmentation fault while completing git mv dir/

2013-03-11 Thread Matthieu Moy
Manlio Perillo manlio.peri...@gmail.com writes: I have the same system, but I can't reproduce the problem. What is the content of your .zshrc file? I could reproduce with ~/.zshrc containing just: -- fpath=(${HOME}/usr/etc/zsh ${fpath}) autoload

Re: ZSH segmentation fault while completing git mv dir/

2013-03-11 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 11/03/2013 16:37, Matthieu Moy ha scritto: [...] I could reproduce with ~/.zshrc containing just: -- fpath=(${HOME}/usr/etc/zsh ${fpath}) autoload -Uz compinit compinit eval `dircolors`

Re: ZSH segmentation fault while completing git mv dir/

2013-03-11 Thread Jeff Epler
If it's dependent on eval `dircolors`, it suggests it might be dependent on the size of the environment. Maybe try with FOO=`perl -e 'print xx1000'` for various values of 1000... Jeff -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to