These were hinted by SZEDER, so I went ahead and implemented the changes trying
to keep in mind the new zsh completion werapper. The resulting code should be
more efficient, and a known breakage is fixed.
The first two patches are transplanted from another patch series which most
likely is not going to use them.
I also borrowed the tests from another patch series from SZEDER, but they are
not meant to be applied through this series.
SZEDER implemented some of this, but I prefer my version of the patches.
Felipe Contreras (8):
completion: trivial test improvement
completion: get rid of empty COMPREPLY assignments
completion: add new __gitcompadd helper
tmp: completion: add SZEDER's tests
completion: get rid of compgen
tmp: completion: mark SZEDER's tests as fixed
completion: get rid of __gitcomp_1
completion: small optimization
contrib/completion/git-completion.bash | 77 ++++++++++++----------------------
t/t9902-completion.sh | 66 ++++++++++++++++++++++++++++-
2 files changed, 91 insertions(+), 52 deletions(-)
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html