Am 19.03.2013 06:20, schrieb Duy Nguyen:
> On Tue, Mar 19, 2013 at 11:08 AM, Junio C Hamano <gits...@pobox.com> wrote:
>> Karsten Blees <karsten.bl...@gmail.com> writes:
>>> This patch series addresses several bugs and performance issues in
>>> .gitignore processing that came up in the inotify discussion.
>> How does this interact with the nd/read-directory-recursive-optim
>> topic that has been cooking for a while?
> I think 8/8 is another version of nd/read-directory-recursive-optim
Yes. When reviewing Duy's patch, I wondered why we would need all those special
cases (or: why is treat_file so damn complicated). It turned out that it gets
much simpler after fixing some bugs and eliminating the is_excluded /
is_path_excluded discrepancy. This variant also optimizes git-status --ignored.
I tried to express my ideas here , but I guess this was a bit unstructured,
Note that we could skip excluded checks for tracked directories as well if it
weren't for the current notion of ignored tracked directories.
I'd still like to eliminate the second directory scan in git-status --ignored
(i.e. don't call fill_directory twice, which would save ~50ms for linux and
~300ms for WebKit), but that's a bit more involved...
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