I've made the following changes based on replies to v2:
* Split the commit up in two commits. One for the introduction of the new functions and one for the implementation of the new functions.
* Removed a function from the introduced bash-completion functions.
* Added acknowledgment for the bash-completion-project.
Peter van der Does (2):
Introduce functions from bash-completion project.
Use the new functions to get the current cword.
contrib/completion/git-completion.bash | 446 ++++++++++++++++++++++++++------
1 files changed, 363 insertions(+), 83 deletions(-)
--
1.7.3.2