Thread (6 messages) 6 messages, 3 authors, 2016-06-15

Re: [PATCH v2] completion: add new git_complete helper

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:53:36

Felipe Contreras wrote:
Perhaps it's time to avoid the __ prefix for public interfaces;
otherwise how would people know they are public?
I'm happy as long as all the identifiers the script exports start with
an underscore, as that is the usual convention for completion scripts.
Within that namespace, if people want to use ___git or _git__ for
private things or something, I don't mind.

If __git_ps1 is moved to a separate script library, it seems fine for
it to provide a git_ps1 identifier with no leading underscores when it
is not being implicitly included by the completion script.

Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help