Re: [PATCH] completion: improve untracked directory filtering for filename completion

2013-09-19 Thread Jonathan Nieder
SZEDER Gábor wrote: > $ time __git_index_files "--others --modified" > untracked-dir > > real0m0.537s > user0m0.452s > sys 0m0.160s > > Eliminate this delay by additionally passing the '--directory > --no-empty-directory' options to 'git ls-files' to show only the > direc

[PATCH] completion: improve untracked directory filtering for filename completion

2013-09-18 Thread SZEDER Gábor
Similar to Bash's default filename completion, our git-aware filename completion stops at directory boundaries, i.e. it doesn't offer the full 'path/to/file' at first, but only 'path/'. To achieve that the completion script runs 'git ls-files' with specific command line options to get the list of