Skip to content

Commit 13f0f16

Browse files
committed
chore: remove old deprecation
1 parent aad3552 commit 13f0f16

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

lua/tinygit/init.lua

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ setmetatable(M, {
3131
return function(...)
3232
local u = require("tinygit.shared.utils")
3333

34-
-- DEPRECATION (2024-11-28)
35-
local deprecated = { "searchFileHistory", "functionHistory", "lineHistory" }
36-
if vim.tbl_contains(deprecated, key) then
37-
local msg = "`.searchFileHistory`, `.functionHistory`, and `.lineHistory` have been unified to a `.fileHistory` command that adapts behavior depending on the mode called in.\n\n"
38-
.. "See the readme for further information. "
39-
u.notify(msg, "warn")
40-
return function() end -- prevent function call throwing error
41-
end
42-
4334
local module = M.cmdToModuleMap[key]
4435
if not module then
4536
u.notify(("Unknown command `%s`."):format(key), "warn")

0 commit comments

Comments
 (0)