[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