Hi,
This has been discussed before, but nobody has actually done it. Details in the
relevant patch.
Felipe Contreras (2):
completion: remove executable mode
completion: split __git_ps1 into a separate script
contrib/completion/git-completion.bash | 257 +---------------------------
contrib/completion/git-prompt.sh | 287 ++++++++++++++++++++++++++++++++
t/t9903-bash-prompt.sh | 2 +-
3 files changed, 290 insertions(+), 256 deletions(-)
mode change 100755 => 100644 contrib/completion/git-completion.bash
create mode 100644 contrib/completion/git-prompt.sh
--
1.7.10.2