Re: Bash completion doing full tree traversal?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]