From: Ron Panduwana Date: Sat, 20 Aug 2011 12:46:14 GMT Subject: Re: [PATCH] bash-completion: Make use of git status Message-ID: In-Reply-To: <201108191210.59538.trast@student.ethz.ch> On Fri, Aug 19, 2011 at 5:10 PM, Thomas Rast wrote: > Some thoughts: > > * running git-status for . has some issues: it doesn't work in the >  case of > >    cd subdir >    git add ../some/file[TAB] > >  It's also inefficient if you are at the top level and > >    git add path/to/file/a/few/levels/down[TAB] > >  since it wouldn't actually have to look for untracked files in the >  entire repo. OK I'll change it to git-status $cur* > * -uall is not required unless you are looking for untracked files. >   For the other commands you could speed up completion by passing >   -uno instead. Will add second param to __git_files_having_status Ron Panduwana -- panduwana@gmail.com