Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726669
Ubuntu: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1196510
Mint: forums.linuxmint.com/viewtopic.php?f=47&t=135218
/etc/bash_completion.d/git-prompt から「./usr/lib/git-core/git-sh-prompt」をコメントするか、Debian Jessie が行ったことを実行して、ファイルが存在するかどうかを確認できるはずです。 .
以下は、Jessie からの /etc/bash_completion.d/git-prompt 全体です。
# In git versions < 1.7.12, this shell library was part of the
# git completion script.
#
# Some users rely on the __git_ps1 function becoming available
# when bash-completion is loaded. Continue to load this library
# at bash-completion startup for now, to ease the transition to a
# world order where the prompt function is requested separately.
#
if [[ -e /usr/lib/git-core/git-sh-prompt ]]; then
. /usr/lib/git-core/git-sh-prompt
fi