Re: [PATCH v2] completion: add new git_complete helper
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 17, 2012, 21:08 UTC
- Message-ID
- <20120417210847.GA23492@burratino>
- In-Reply-To
- <CAMP44s0w40ViecQsF8AeQLLxAEShC54TTyvcPVMabpOZ+DYDqQ@mail.gmail.com>
Felipe Contreras wrote:
> How are people going to distinguish between public and private functions?
There are only two public functions.
They will be the ones provided without an __ (git_ps1 and git_complete) when you source the git-prompt-and-completion-helpers library in your .bashrc. Neither will be exposed automatically from the completion script, though synonyms with leading __ to avoid namespace clashes will be.
Sensible? Jonathan