Skip to content
Snippets Groups Projects
Commit 2bbfc204 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

dirstate: avoid invalidating every entries when list is empty

Default value was not tested with 'is None', this made empty list seen as
default value and result the invalidation of every single entry in the
dirstate. On repos with hundred of thousand of files, this results in minutes
of lookup time instead nothing.

This is a text book example of why we should test 'is None' if this is what we
mean.
parent b5311068
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment