From a9de5910f22faf9036a8297c8fd4e3d47eb8baa6 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 31 Dec 2022 15:55:06 +0100 Subject: [PATCH] fix(fetch): always fetch latest origin tags. Fixes #264 --- lua/lazy/manage/task/git.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/lazy/manage/task/git.lua b/lua/lazy/manage/task/git.lua index ee6ceb6..20b965b 100644 --- a/lua/lazy/manage/task/git.lua +++ b/lua/lazy/manage/task/git.lua @@ -115,6 +115,8 @@ M.fetch = { local args = { "fetch", "--recurse-submodules", + "--tags", -- also fetch remote tags + "--force", -- overwrite existing tags if needed "--progress", }