zsh-workers
 help / color / mirror / code / Atom feed
* zsh segfault on completion of `git show'
@ 2011-06-25 16:18 Casper Ti. Vector
  2011-06-25 16:52 ` Frank Terbeck
  0 siblings, 1 reply; 3+ messages in thread
From: Casper Ti. Vector @ 2011-06-25 16:18 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

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 #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zsh segfault on completion of `git show'
  2011-06-25 16:18 zsh segfault on completion of `git show' Casper Ti. Vector
@ 2011-06-25 16:52 ` Frank Terbeck
  2011-06-25 20:28   ` Casper Ti. Vector
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Terbeck @ 2011-06-25 16:52 UTC (permalink / raw)
  To: Casper Ti. Vector; +Cc: zsh-workers

Casper Ti. Vector wrote:
[...]
> 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>

Works for me. Are you using 4.3.11? Can you retry using 4.3.12?

Regards, Frank


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zsh segfault on completion of `git show'
  2011-06-25 16:52 ` Frank Terbeck
@ 2011-06-25 20:28   ` Casper Ti. Vector
  0 siblings, 0 replies; 3+ messages in thread
From: Casper Ti. Vector @ 2011-06-25 20:28 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

    Thanks. I retried in 4.3.12, and it works nice now.
    And I realise that I forgot to mention the version I used in the
previous message :D

On Sat, Jun 25, 2011 at 06:52:17PM +0200, Frank Terbeck wrote:
> Works for me. Are you using 4.3.11? Can you retry using 4.3.12?

-- 
    Using GPG/PGP? Please get my current public key (ID: 0xAEF6A134,
valid from 2010 to 2013) from a key server.


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-25 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-25 16:18 zsh segfault on completion of `git show' Casper Ti. Vector
2011-06-25 16:52 ` Frank Terbeck
2011-06-25 20:28   ` Casper Ti. Vector

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).