diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-10-27 02:42:36 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-10-27 02:42:36 +0200 |
commit | 0c6c4047155692caff733d0cd239b80508b7bd04 (patch) | |
tree | 522bc02e7c5e4f4f3968a7b38c74bc9773097d1f /options.go | |
parent | 0c3bc0c8b3eabe16e927475f26044ca9aaa50351 (diff) | |
download | go-git-0c6c4047155692caff733d0cd239b80508b7bd04.tar.gz |
remote, fix fetch tags
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -79,7 +79,9 @@ func (o *PullOptions) Validate() error { // FetchOptions describe how a fetch should be perform type FetchOptions struct { RefSpecs []config.RefSpec - Depth int + // Depth limit fetching to the specified number of commits from the tip of + // each remote branch history. + Depth int } // Validate validate the fields and set the default values |