git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: ZSH segmentation fault while completing "git mv dir/"

From
Manlio Perillo <manlio.perillo@gmail.com>
Date
Apr 2, 2013, 20:55 UTC
Message-ID
<515B45AB.5030503@gmail.com>
In-Reply-To
<vpqwqslgfzf.fsf@grenoble-inp.fr>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il 02/04/2013 16:32, Matthieu Moy ha scritto:
Show 18 quoted lines
> Felipe Contreras <felipe.contreras@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 -- ${=1} && _ret=0
>> +       compadd -Q -p "${2-}" -- ${=1} && _ret=0
>>  }
> 
> OK, not something we want to apply to git.git, but this means a
> workaround for users is to create a _git file with this content instead
> instead of copying/symlinking git-completion.zsh as _git (replace
> $GIT_ROOT_PATH with the appropriate value)
By the way: have you filled a bug report to Debian?
Regards  Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFbRasACgkQscQJ24LbaUTDZQCfbfF5yhxCfUSaWdv0pE7++X3l Lc0AniAw5lEL6iunM+Tw8HvYxGwjuYYh =KpQI -----END PGP SIGNATURE-----

Previous: Matthieu MoyNext: Matthieu Moy
Message 11 of 12 in “ZSH segmentation fault while completing "git mv dir/"”
  1. Matthieu MoyMar 11, 2013
  2. Manlio PerilloMar 11, 2013
  3. Matthieu MoyMar 11, 2013
  4. Manlio PerilloMar 11, 2013
  5. Jeff EplerMar 12, 2013
  6. Matthieu MoyMar 12, 2013
  7. Felipe ContrerasApr 1, 2013
  8. Matthieu MoyApr 2, 2013
  9. Junio C HamanoApr 2, 2013
  10. Matthieu MoyApr 2, 2013
  11. Manlio PerilloApr 2, 2013
  12. Matthieu MoyApr 3, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.