__git_ps1: command not foundUpon investigation, I discovered that the bash completion for git has been split into more than one file. Previously, all that was needed in the .bash_profile was to source the single file for git like so:
if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fiSince the update to Macports, now I also need to source the second file like so:
if [ -f /opt/local/share/git-core/contrib/completion/git-prompt.sh ]; then . /opt/local/share/git-core/contrib/completion/git-prompt.sh fiAfter closing/creating the terminal tab, the error is gone.