From 687f6f2a97ef7c691d623d910989f1a8dfdc0d7e Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 8 Mar 2025 16:20:08 +0800 Subject: [PATCH] refactor: rename ignored to excluded --- git.yazi/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git.yazi/main.lua b/git.yazi/main.lua index a007717..bd66d22 100644 --- a/git.yazi/main.lua +++ b/git.yazi/main.lua @@ -73,9 +73,9 @@ local function bubble_up(changed) return new end -local function propagate_down(ignored, cwd, repo) +local function propagate_down(excluded, cwd, 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 new[tostring(cwd)] = CODES.excluded elseif cwd == repo:join(path):parent() then