]> git.e2factory.org Git - e2factory.git/commitdiff
git: remove duplicate git fetch --tags
authorTobias Ulmer <tu@emlix.com>
Tue, 10 Jan 2017 17:29:53 +0000 (18:29 +0100)
committerTobias Ulmer <tu@emlix.com>
Tue, 10 Jan 2017 17:29:53 +0000 (18:29 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
plugins/git.lua

index 497d9b513e6d8e65c3f5a763deb847bcf730dec0..1bc7a76788a5a91b23381feed8028bc0fcc4f601 100644 (file)
@@ -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