chore: fix typo

This commit is contained in:
dundargoc 2024-06-07 10:38:17 +02:00 committed by Lewis Russell
parent 4b53134ce5
commit 805c17f150
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ local function get_blame_nc(file, lnum)
return {
orig_lnum = 0,
final_lnum = lnum,
commit = Git.not_commited(file),
commit = Git.not_committed(file),
filename = file,
}
end

View File

@ -615,7 +615,7 @@ local NOT_COMMITTED = {
--- @param file string
--- @return Gitsigns.CommitInfo
function M.not_commited(file)
function M.not_committed(file)
local time = os.time()
return {
sha = string.rep('0', 40),
@ -649,7 +649,7 @@ function Obj:run_blame(lines, lnum, opts)
-- As we support attaching to untracked files we need to return something if
-- the file isn't isn't tracked in git.
-- If abbrev_head is empty, then assume the repo has no commits
local commit = M.not_commited(self.file)
local commit = M.not_committed(self.file)
for i in ipairs(lines) do
ret[i] = {
orig_lnum = 0,