aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-22 12:05:04 +0200
committerGitHub <noreply@github.com>2017-07-22 12:05:04 +0200
commitef234e7e7355281499a63c4b22550df023b61fbf (patch)
treef670ea4ce6e24aca4e96abf982108e2776de9ee4 /options.go
parent2d10f1023e609894174b21bdf8d3738010099335 (diff)
parent2cd2d64b162cd2343b99767d796888997abc702a (diff)
downloadgo-git-ef234e7e7355281499a63c4b22550df023b61fbf.tar.gz
Merge pull request #496 from lupine/490-no-tags-fetch-mode
Implement a NoTags mode for fetch that mimics git fetch --no-tags
Diffstat (limited to 'options.go')
-rw-r--r--options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.go b/options.go
index 67a4870..9f328cb 100644
--- a/options.go
+++ b/options.go
@@ -113,6 +113,8 @@ var (
// AllTags fetch all tags from the remote (i.e., fetch remote tags
// refs/tags/* into local tags with the same name)
AllTags TagFetchMode = 1
+ //NoTags fetch no tags from the remote at all
+ NoTags TagFetchMode = 2
)
// FetchOptions describes how a fetch should be performed