merge with branch issue-345

This commit is contained in:
Sebastian Sdorra
2013-03-27 08:53:22 +01:00
41 changed files with 4415 additions and 181 deletions

View File

@@ -212,9 +212,10 @@ public class GitChangesetConverter implements Closeable
Collection<String> tagCollection = tags.get(commit.getId());
if (tagCollection != null)
if (Util.isNotEmpty(tagCollection))
{
changeset.getTags().addAll(tagCollection);
// create a copy of the tag collection to reduce memory on caching
changeset.getTags().addAll(Lists.newArrayList(tagCollection));
}
changeset.setBranches(branches);