Re: [PATCH] completion: add completer for status

2013-06-30 Thread SZEDER Gábor
On Fri, Jun 28, 2013 at 07:33:21PM +0530, Ramkumar Ramachandra wrote: > Ramkumar Ramachandra wrote: > >> + __git_complete_index_file "--with-tree=HEAD --cached --deleted" > > > > Might as well go all the way with "--cached --deleted --unmerged > > --others" no? What is the point of --with-t

Re: [PATCH] completion: add completer for status

2013-06-28 Thread SZEDER Gábor
On Fri, Jun 28, 2013 at 06:50:02PM +0530, Ramkumar Ramachandra wrote: > SZEDER Gábor wrote: > > diff --git a/contrib/completion/git-completion.bash > > b/contrib/completion/git-completion.bash > > index 912fb988..b68024c6 100644 > > --- a/contrib/completion/git-completion.bash > > +++ b/contrib/co

Re: [PATCH] completion: add completer for status

2013-06-28 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: >> + __git_complete_index_file "--with-tree=HEAD --cached --deleted" > > Might as well go all the way with "--cached --deleted --unmerged > --others" no? What is the point of --with-tree=HEAD? Ugh, --deleted doesn't work as advertised (terrible documentation). T

Re: [PATCH] completion: add completer for status

2013-06-28 Thread Ramkumar Ramachandra
SZEDER Gábor wrote: > diff --git a/contrib/completion/git-completion.bash > b/contrib/completion/git-completion.bash > index 912fb988..b68024c6 100644 > --- a/contrib/completion/git-completion.bash > +++ b/contrib/completion/git-completion.bash > @@ -1697,6 +1697,8 @@ _git_stage () > > _git_statu

Re: [PATCH] completion: add completer for status

2013-06-28 Thread SZEDER Gábor
On Fri, Jun 28, 2013 at 12:56:01PM +0200, SZEDER Gábor wrote: > On Fri, Jun 28, 2013 at 12:29:36PM +0200, SZEDER Gábor wrote: > > On Mon, Jun 24, 2013 at 10:52:55PM +0530, Ramkumar Ramachandra wrote: > > > Signed-off-by: Ramkumar Ramachandra > > > + __git_complete_index_file > > > > With or witho

Re: [PATCH] completion: add completer for status

2013-06-28 Thread SZEDER Gábor
On Fri, Jun 28, 2013 at 12:29:36PM +0200, SZEDER Gábor wrote: > On Mon, Jun 24, 2013 at 10:52:55PM +0530, Ramkumar Ramachandra wrote: > > Signed-off-by: Ramkumar Ramachandra > > + __git_complete_index_file > > With or without this change we can't ask for the status of a certain > deleted file:

Re: [PATCH] completion: add completer for status

2013-06-28 Thread SZEDER Gábor
Hi, On Mon, Jun 24, 2013 at 10:52:55PM +0530, Ramkumar Ramachandra wrote: > Signed-off-by: Ramkumar Ramachandra > --- > contrib/completion/git-completion.bash | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/contrib/completion/git-completion.bash > b/contrib

Re: [PATCH] completion: add completer for status

2013-06-24 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: > + __git_complete_index_file Um, that should be __git_complete_index_file "--cached", I think. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

[PATCH] completion: add completer for status

2013-06-24 Thread Ramkumar Ramachandra
Signed-off-by: Ramkumar Ramachandra --- contrib/completion/git-completion.bash | 26 ++ 1 file changed, 26 insertions(+) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 6c3bafe..912fb98 100644 --- a/contrib/completion/gi