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

Re: [PATCH v6 0/2] New zsh wrapper

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 19, 2012, 21:56 UTC
Message-ID
<CAMP44s0K2bzDDJQcC-KRnY50sZ4zNPSaujH5Gj7v5y6=ZYM90Q@mail.gmail.com>
In-Reply-To
<7vpq39xw01.fsf@alter.siamese.dyndns.org>
On Mon, Nov 19, 2012 at 7:55 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 28 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> The second patch is new, in order for users to get the same features when
>> sourcing the bash script (they don't need to change anything). They'll get a
>> warning suggesting to check the new script git-completion.zsh. Eventually, that
>> support would be dropped from the bash script.
>>
>> Some people were suggesting something like this, so here it is.
>>
>> Can we merge the zsh wrapper now?
>>
>> Felipe Contreras (2):
>>   completion: add new zsh completion
>>   completion: start moving to the new zsh completion
>>
>>  contrib/completion/git-completion.bash | 104 +++++++++++++++++++--------------
>>  contrib/completion/git-completion.zsh  |  78 +++++++++++++++++++++++++
>>  2 files changed, 139 insertions(+), 43 deletions(-)
>>  create mode 100644 contrib/completion/git-completion.zsh
>
> Thanks; I am a bit puzzled as to the progression of this series, as
> it spanned many months.  I *think* the following are the previous
> ones, but I may be mixing up v$n patches for other series, so just
> to make sure (please correct if I am mistaken):
>
>  * (v1) http://thread.gmane.org/gmane.comp.version-control.git/189310
>    with only git-completion.zsh without any changes to the bash
>    side;
Yes, and with a lot of code that is not strictly needed.
>  * (v2) http://thread.gmane.org/gmane.comp.version-control.git/189381
>    without bash side changes;
Yes, also with more code.
>  * (v3) http://thread.gmane.org/gmane.comp.version-control.git/196720
>    without bash side changes;
Yes, now it's simpler due to changes in bash side already in.
>  * (v6) http://thread.gmane.org/gmane.comp.version-control.git/208170
>    with COMPREPLY changes;
Yeap.
>  * This one, with removal of zsh specific workarounds from bash
>    completion script.
Yes, although that is a separate patch.
> I do not care too much about how v4 and v5 looked like; I primarily
> am interested in knowing if I can discard 208170 from my inbox
> safely ;-).
Yes you can. The rest of the patches I sent in a different series.
Cheers.
-- 
Felipe Contreras
Previous: Junio C Hamano
Message 5 of 5 in “New zsh wrapper”
  1. 0/2 New zsh wrapperFelipe Contreras, Nov 18, 2012
  2. 1/2 completion: add new zsh completionFelipe Contreras, Nov 18, 2012
  3. 2/2 completion: start moving to the new zsh completionFelipe Contreras, Nov 18, 2012
  4. Junio C HamanoNov 19, 2012
  5. Felipe ContrerasNov 19, 2012

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.