[MacPorts] #36334: git-core @1.7.12 +bash_completion - __git_ps1: command not found

MacPorts noreply at macports.org
Tue Sep 25 12:43:00 PDT 2012


#36334: git-core @1.7.12 +bash_completion - __git_ps1: command not found
------------------------+--------------------------------
 Reporter:  tshubitz@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.1.2
 Keywords:              |       Port:  git-core
------------------------+--------------------------------
 v.1.7.12 of 'git-core' changed the shell script that is used to load the
 'bash_completion' shell function.

 The current version of this MacPort installs the previous shell script
 instead of the new script.

 See "Git v1.7.12 Release Notes" for verification.

  * A rather heavy-ish "git completion" script has been split to create
    a separate "git prompting" script, to help lazy-autoloading of the
    completion part while making prompting part always available.

 Changing line 169 in the Portfile should correct the issue.

 FROM

     ${worksrcpath}/contrib/completion/git-completion.bash

 TO

     ${worksrcpath}/contrib/completion/git-prompt.sh


 tim shubitz

-- 
Ticket URL: <https://trac.macports.org/ticket/36334>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list