commit | a23a520eaf4f707146727fe6784fabb52edec721 | [log] [tgz] |
---|---|---|
author | Kenny Ho <y2kenny@gmail.com> | Mon Aug 08 18:48:38 2016 -0400 |
committer | Kenny Ho <y2kenny@gmail.com> | Tue Aug 09 11:40:29 2016 -0400 |
tree | 4677a61b41d99b85995c1126bc95b5377a75a635 | |
parent | 8252c82f9a204b798fb21d6095cdadd2717fc651 [diff] |
Fully specify default branch name Change-Id: Ib8aad0d2a6c9597aef6ad6e3e04df0cee8dd10ce
diff --git a/src/main/java/com/amd/gerrit/plugins/manifestsubscription/Utilities.java b/src/main/java/com/amd/gerrit/plugins/manifestsubscription/Utilities.java index fb6608b..5c5ce00 100644 --- a/src/main/java/com/amd/gerrit/plugins/manifestsubscription/Utilities.java +++ b/src/main/java/com/amd/gerrit/plugins/manifestsubscription/Utilities.java
@@ -148,7 +148,7 @@ MetaDataUpdate update = metaDataUpdateFactory.create(p); if (commitId == null) { // TODO remove assumption that master branch always exists - vManifests = new VersionedManifests("master"); + vManifests = new VersionedManifests("refs/heads/master"); vManifests.load(update); } else { vManifests = new VersionedManifests(manifestBranch);