diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2018-09-10 13:04:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 13:04:42 +0200 |
commit | 38060c9c17a8485c03873d06b465b65dbe6bd325 (patch) | |
tree | f0273e3453020498defff396e3d62e9f33436468 /object_walker.go | |
parent | a2d62f58ea626bb9f41de6431f6f18ca92cf78a0 (diff) | |
parent | 9ce4eeab99708a2ac35124585103f9e4a04126df (diff) | |
download | go-git-38060c9c17a8485c03873d06b465b65dbe6bd325.tar.gz |
Merge pull request #928 from vancluever/f-add-tagging-support
git: Add tagging support
Diffstat (limited to 'object_walker.go')
-rw-r--r-- | object_walker.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/object_walker.go b/object_walker.go index 4cbbcca..f8b19cd 100644 --- a/object_walker.go +++ b/object_walker.go @@ -94,6 +94,8 @@ func (p *objectWalker) walkObjectTree(hash plumbing.Hash) error { return err } } + case *object.Tag: + return p.walkObjectTree(obj.Target) default: // Error out on unhandled object types. return fmt.Errorf("Unknown object %X %s %T\n", obj.ID(), obj.Type(), obj) |