[MacPorts] #37462: git-core: Actual bash_completion dir implies in bug on hub and git-flow bash completion

MacPorts noreply at macports.org
Fri Oct 11 07:18:16 PDT 2013


#37462: git-core: Actual bash_completion dir implies in bug on hub and git-flow
bash completion
------------------------------+-------------------------
  Reporter:  robsonpeixoto@…  |      Owner:  ciserlohn@…
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:  haspatch
      Port:  git-core         |
------------------------------+-------------------------
Changes (by robsonpeixoto@…):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 I had the `hub` installed and a created the alias `git='hub'`  as the port
 suggest.

 When I try to use the bash-completion of hub using the git command, all
 commands of hub aren't completed. Like it:

 {{{
 #!sh
 $ git f<tab>
 fetch           filter-branch   format-patch    fsck
 }}}

 After move the bash-completion from `/opt/local/share/bash-
 completion/completions` to `/opt/local/etc/bash_completion.d` it's working
 very well. Now are showing the '''fork''' command.

 {{{
 $!sh
 $ git f<tab>
 fetch           filter-branch   fork            format-patch    fsck
 }}}

 I'm attaching the file `git-bash-completion.patch` moving the bash-
 completion to `/opt/local/etc/bash_completion.d`

-- 
Ticket URL: <https://trac.macports.org/ticket/37462#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list