Merge "Use full name for refName RefUpdateAttribute"

This commit is contained in:
Edwin Kempin
2015-05-19 15:21:37 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ oldRev:: The old value of the ref, prior to the update.
newRev:: The new value the ref was updated to.
refName:: Ref name within project.
refName:: Full ref name within project.
project:: Project path in Gerrit.

View File

@@ -151,7 +151,7 @@ public class EventFactory {
ru.newRev = newId != null ? newId.getName() : ObjectId.zeroId().getName();
ru.oldRev = oldId != null ? oldId.getName() : ObjectId.zeroId().getName();
ru.project = refName.getParentKey().get();
ru.refName = refName.getShortName();
ru.refName = refName.get();
return ru;
}