aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/git/git.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-03 14:04:16 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-03 14:04:16 +0200
commitb512286f25c7e23f9ac911f6ae864d6736c91a92 (patch)
tree461465dfe49b2bb3a77312282d762962ea2f99d7 /pkg/git/git.go
parentc6a6d0aceb21567125ed1db07bd060b477338108 (diff)
pkg/git: don't use --no-tags with clone
It's not supported in older versions of git.
Diffstat (limited to 'pkg/git/git.go')
-rw-r--r--pkg/git/git.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/git/git.go b/pkg/git/git.go
index 30cf2cafb..8ee05f9fe 100644
--- a/pkg/git/git.go
+++ b/pkg/git/git.go
@@ -29,7 +29,6 @@ func Poll(dir, repo, branch string) (string, error) {
args := []string{
"clone",
repo,
- "--no-tags",
"--depth", "1",
"--single-branch",
"--branch", branch,