From 87082d3bb30a95c325036d7d2ff3256e6b137db3 Mon Sep 17 00:00:00 2001 From: Henrique Vicente Date: Wed, 22 Jun 2016 18:36:47 -0300 Subject: [PATCH] Don't pull tags on fetching remote branch. --- lib/git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.js b/lib/git.js index d9238405..11884cc0 100644 --- a/lib/git.js +++ b/lib/git.js @@ -65,7 +65,7 @@ exports.push = function (remote, branch) { }; exports.fetch = function (repoUrl, headBranch, pullBranch) { - var args = ['fetch', repoUrl, headBranch + ':' + pullBranch]; + var args = ['fetch', repoUrl, headBranch + ':' + pullBranch, '--no-tags']; return exec.spawnSyncStream(git_command, args); };