refactor: rename ignored to excluded
This commit is contained in:
@@ -73,9 +73,9 @@ local function bubble_up(changed)
|
|||||||
return new
|
return new
|
||||||
end
|
end
|
||||||
|
|
||||||
local function propagate_down(ignored, cwd, repo)
|
local function propagate_down(excluded, cwd, repo)
|
||||||
local new, rel = {}, cwd:strip_prefix(repo)
|
local new, rel = {}, cwd:strip_prefix(repo)
|
||||||
for _, path in ipairs(ignored) do
|
for _, path in ipairs(excluded) do
|
||||||
if rel:starts_with(path) then
|
if rel:starts_with(path) then
|
||||||
new[tostring(cwd)] = CODES.excluded
|
new[tostring(cwd)] = CODES.excluded
|
||||||
elseif cwd == repo:join(path):parent() then
|
elseif cwd == repo:join(path):parent() then
|
||||||
|
|||||||
Reference in New Issue
Block a user