commit a1588706a52adf14f2f387e944852b43880798bc parent 76965a0b452846a53c1c20757af8430c3d6b6a21 Author: Michael Savage <mike@mikejsavage.co.uk> Date: Wed, 11 May 2022 19:03:36 +0100 Ignore all git stuff Diffstat:
M | src/actions.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/actions.lua b/src/actions.lua @@ -42,7 +42,7 @@ end function _M.list() local names = { } for file in lfs.dir( paths.db ) do - if file ~= "." and file ~= ".." and file ~= ".git" and file ~= ".gitignore" then + if file ~= "." and file ~= ".." and not file:match( "^%.git" ) then table.insert( names, file ) end end