Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: Custom git completion

From: David Rhodes Clymer <hidden>
Date: 2016-06-15 22:48:08

On Fri, Jan 29, 2010 at 12:59 PM, Shawn O. Pearce [off-list ref] wrote:
Junio C Hamano [off-list ref] wrote:
quoted
How does the completion code learn what options and arguments such aliases
and subcommands (e.g. "git foo") take without being told?
Sure.  But the patch offered by the original poster also suffered
from this problem, it didn't know how to complete arguments for
the subcommand.
My patch allows custom completion code to be called if available. I
don't expect git completion to know anything about my new command.

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