diff --git a/lua/lazy/manage/task/git.lua b/lua/lazy/manage/task/git.lua index 54e674f..137800b 100644 --- a/lua/lazy/manage/task/git.lua +++ b/lua/lazy/manage/task/git.lua @@ -30,8 +30,10 @@ M.log = { local info = assert(Git.info(self.plugin.dir)) local target = assert(Git.get_target(self.plugin)) table.insert(args, info.commit .. ".." .. target.commit) - else + elseif opts.since then table.insert(args, "--since=" .. (opts.since or "3 days ago")) + else + table.insert(args, "-10") end self:spawn("git", {