Re: Bash completion doing full tree traversal?
- From
- Isaac Levy <ilevy@google.com>
- Date
- Sep 16, 2013, 15:54 UTC
- Message-ID
- <CADHXV5=ZVif6xppJgOXRKmqG9bBmAF0=A-sS9TUkH1RHSX9k6g@mail.gmail.com>
- In-Reply-To
- <CADHXV5kfaMm3nAEK_uR0McoAahj6pVtm=11Ei0_Y_teDJixWTQ@mail.gmail.com>
I should clarify that I had an untracked directory which contained a significant number of files; I can fix by adding it to gitignore. Still, the long delay & tree traversal were unexpected.
Isaac
On Sun, Sep 8, 2013 at 2:12 PM, Isaac Levy <ilevy@google.com> wrote:
Show 15 quoted lines
> I experienced a weird stall from git bash completion: > $ git add p<TAB> > > I did some investigation and found this call trace: > > + __git_index_files '--others --modified' '' > ---> git ls-files --exclude-standard --others --modified > > This bash function captures output of the git call and strips all but > the base directory or base filename. The results are limited to > entries in the current directory. > > Appears to be from fea16b47b603e and first released in v1.8.2 (I have 1.8.4). > > Isaac