diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-09-04 13:53:55 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-09-04 13:53:55 +0200 |
commit | 38b9d5711a0d8156a5b5b1e5dd9972558b1389a7 (patch) | |
tree | 6f06300b57c4d6d11b1c5d3b2b01d6f6c8737634 /remote_test.go | |
parent | c20028f6a4d0038d59898392aafe13baa9e84040 (diff) | |
download | go-git-38b9d5711a0d8156a5b5b1e5dd9972558b1389a7.tar.gz |
Remote.Fetch Tags logic improvement and fix NoTags
Diffstat (limited to 'remote_test.go')
-rw-r--r-- | remote_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote_test.go b/remote_test.go index 51180ce..10f6708 100644 --- a/remote_test.go +++ b/remote_test.go @@ -143,7 +143,7 @@ func (s *RemoteSuite) TestFetchWithNoTags(c *C) { s.testFetch(c, r, &FetchOptions{ Tags: NoTags, RefSpecs: []config.RefSpec{ - config.RefSpec("+refs/heads/master:refs/remotes/origin/master"), + config.RefSpec("+refs/heads/*:refs/remotes/origin/*"), }, }, []*plumbing.Reference{ plumbing.NewReferenceFromStrings("refs/remotes/origin/master", "f7b877701fbf855b44c0a9e86f3fdce2c298b07f"), |