Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dundargoc authored and lewis6991 committed Jun 7, 2024
1 parent 4b53134 commit 805c17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/gitsigns/cache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lua/gitsigns/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 805c17f

Please sign in to comment.