From: SZEDER Gábor Date: Sun, 30 Jun 2013 11:00:36 GMT Subject: Re: [PATCH] completion: add completer for status Message-ID: <20130630110036.GA2294@goldbirke> In-Reply-To: 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-tree=HEAD? > > Ugh, --deleted doesn't work as advertised (terrible documentation). Why not? In my experiments it worked well, as you can see in my previous emails. What behavior did you observe which differs from the advertised? > The minimally correct combination we need seems to be > "--with-tree=HEAD --cached --others". Yeah, once we use '--with-tree=HEAD' we don't need '--deleted' anymore. Gábor