Opened 12 years ago
Last modified 12 years ago
#37117 closed defect
git-core 1.8.0 bash completions missing git-prompt.sh code — at Version 2
Reported by: | jeff@… | Owned by: | ciserlohn@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | git-core |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
__git_ps1
is no longer a defined function in the bash completions, breaking some code I use to put the branch name in my prompt. It seems that this function is in git-prompt.sh which is a second file from Shawn O. Pearce's bash completion code that the +bash_completion variant does not include.
Change History (2)
comment:1 Changed 12 years ago by jeff@…
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ciserlohn@… |
Port: | git-core added |
Note: See
TracTickets for help on using
tickets.
This is the git-prompt.sh file in question: https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh