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

[PATCH v5.1 0/3] Make git-completion Bash 4 compatible

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 15, 2010, 06:24 UTC
Message-ID
<20101215062403.GA20492@burratino>
In-Reply-To
<7v1v5tpa7b.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
>>> On Thu, Dec 02, 2010 at 03:02:07PM -0600, Jonathan Nieder wrote:
Show 6 quoted lines
>>>> Add a minimal implementation of _get_comp_words_by_ref,
>>>> the routine used to work around bash 4.0's COMP_WORDS semantics.
>>>>
>>>> Based on bash-completion 2.x (commit bf763033, 2010-10-26) but
>>>> tweaked for simplicity and to allow zsh to at least parse the
>>>> code.
[...]
> Sorry, but whose repository does that object live in?
Agh, sorry for the mess.  Please fetch
  git://repo.or.cz/git/jrn.git pd/bash-4-completion 
to receive the following history:
  o [maint-1.7.2] --- A --- B --- M [FETCH_HEAD]
                                 /
                                o [master (early part)]

[A] bash: get --pretty=m<tab> completion to work with bash v4 (by Peter)

[B] bash: simple reimplementation of _get_comp_words_by_ref (discussed above)

[M] Merge branch 'master' (early part) into pd/bash-4-completion (zsh compatibility)

[master (early part)] completion: fix zsh check under bash with 'set -u' (2010-10-28 11:45:00 -0700).

A and B are the patches sent previously in this thread, rebased on an older code base to avoid the zsh support. A combined diff for the merge 'M' will follow. Thoughts, suggestions, acks, test reports would be welcome.

Thanks for your patience. Jonathan

Previous: Junio C HamanoNext: Jonathan Nieder
Message 19 of 22 in “*** SUBJECT HERE ***”
  1. 0/2 *** SUBJECT HERE ***Peter van der Does, Dec 1, 2010
  2. 1/2 Introduce functions from bash-completion project.Peter van der Does, Dec 1, 2010
  3. 2/2 Use the new functions to get the current cword.Peter van der Does, Dec 1, 2010
  4. Jonathan NiederDec 2, 2010
  5. SZEDER GáborDec 2, 2010
  6. Jonathan NiederDec 1, 2010
  7. SZEDER GáborDec 2, 2010
  8. Jonathan NiederDec 2, 2010
  9. Peter van der DoesDec 2, 2010
  10. 2/1 bash: eliminate dependency on bash_completion libJonathan Nieder, Dec 2, 2010
  11. SZEDER GáborDec 2, 2010
  12. Jonathan NiederDec 3, 2010
  13. Stephen BoydDec 3, 2010
  14. SZEDER GáborDec 7, 2010
  15. Jonathan NiederDec 7, 2010
  16. SZEDER GáborDec 7, 2010
  17. Jonathan NiederDec 7, 2010
  18. Junio C HamanoDec 7, 2010
  19. 0/3 Make git-completion Bash 4 compatibleJonathan Nieder, Dec 15, 2010
  20. 1/3 bash: get --pretty=m<tab> completion to work with bash v4Jonathan Nieder, Dec 15, 2010
  21. 2/3 bash: simple reimplementation of _get_comp_words_by_refJonathan Nieder, Dec 15, 2010
  22. 3/3 Merge branch 'master' (early part) into pd/bash-4-completionJonathan Nieder, Dec 15, 2010

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.