Re: Bash completion doing full tree traversal?

2013-09-16 Thread Isaac Levy
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  wrote:
> I experienced a weird stall from git bash completion:
> $ git add p
>
> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Bash completion doing full tree traversal?

2013-09-08 Thread Isaac Levy
I experienced a weird stall from git bash completion:
$ git add p

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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html