Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh segfault on completion of `git show'
- X-seq: zsh-workers 29507
- From: "Casper Ti. Vector" <caspervector@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: zsh segfault on completion of `git show'
- Date: Sun, 26 Jun 2011 00:18:46 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=FqIEnvKDB0gIREyhTMqNshsutHsCooq1TbHrqB7DKuk=; b=u0tC8lkCW2D6PkI+4tPzdty3mglY2CdcGdS/ZZ/8XlpTzejTMR0WTNo6UxQLm5Dbcl kM4Tz/wxpDhPXQwjZQ2i+vCGteup3KADCQWZQRjSDuX0xepc0BuD9iqeotx8qKp+uvFn 0bfHTyDOolaOIxuRZj8s2FbsuWVBxniCwrTBo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=KEDVCAGacqhMxpZUQiMKAx70j45PC2fM9Cw8hQ6yR70AfdGvgoARIRVxj839kwbMo/ 3dDt+jN6/ZCqHFSmfOEuxIJMyj2t7quLXHErMGHUq5yk5OH9YabHaWakL5LkWbG6MvD3 k1xBSLZ9XJyk57GkSbU4akgWr1MHINR36pWNQ=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Summary:
zsh makes a segfault when one tries to complete a file name present
in the argument of `git show'.
The exact condition is that the argument appears like this:
<branch>:<directory>/<filename>
in which <filename> indicates a string that have one and only one
candidate for file name completion. For example, when only `a' and
`abc' appear in <directory>, <filename> can be `ab' or `abc', which
can only be completed to `abc'.
Machine condition:
OS: Gentoo Linux
Steps to reproduce:
# [Some preparation]
mkdir -p zsh-segfault/pia/
touch zsh-segfault/pia/test
cd zsh-segfault/
git init; git add .; git commit -m test
# [Now trigger the segfault]
# `<TAB>' indicates pressing the tab key.
# `t', `te' or `tes' as <filename> also works.
git show master:pia/test<TAB>
--
Using GPG/PGP? Please get my current public key (ID: 0xAEF6A134,
valid from 2010 to 2013) from a key server.
Attachment:
pgp4TnYZJWiie.pgp
Description: PGP signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author