From: Tobias Ulmer Date: Tue, 10 Jan 2017 17:29:53 +0000 (+0100) Subject: git: remove duplicate git fetch --tags X-Git-Tag: e2factory-2.3.16~5 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=68d44c20dc62c411a237c30c262dca9a49907601;p=e2factory.git git: remove duplicate git fetch --tags Signed-off-by: Tobias Ulmer --- diff --git a/plugins/git.lua b/plugins/git.lua index 497d9b5..1bc7a76 100644 --- a/plugins/git.lua +++ b/plugins/git.lua @@ -350,12 +350,6 @@ function git.update(info, sourcename) return false, e:cat(re) end - argv = generic_git.git_new_argv(gitdir, gitwc, "fetch", "--tags") - rc, re = generic_git.git(argv) - if not rc then - return false, e:cat(re) - end - -- Use HEAD commit ID to find the branch we're on rc, re, id = generic_git.lookup_id(gitdir, false, "HEAD") if not rc then