diff options
Diffstat (limited to 'gitTag.update.go')
| -rw-r--r-- | gitTag.update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitTag.update.go b/gitTag.update.go index 163b379..18af8d9 100644 --- a/gitTag.update.go +++ b/gitTag.update.go @@ -14,7 +14,7 @@ import ( func (repo *Repo) UpdateGitTags() error { // delete the old hash // r.DeleteByHash(hash) - repo.Tags.GitTags = nil + repo.Tags = new(GitTags) tags := []string{"%(objectname)", "%(creatordate)", "%(*authordate)", "%(refname)", "%(subject)"} format := strings.Join(tags, "_,,,_") |
