Access static methods by class not instance
Change-Id: Iac57284704550da10e7029d22ee051da4a78636d Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
e389b9a039
commit
b091b02391
|
@ -1847,7 +1847,7 @@ public class ReceiveCommits implements PreReceiveHook, PostReceiveHook {
|
|||
msgBuf.append(" into ");
|
||||
if (mergedIntoRef.startsWith(Constants.R_HEADS)) {
|
||||
msgBuf.append("branch ");
|
||||
msgBuf.append(repo.shortenRefName(mergedIntoRef));
|
||||
msgBuf.append(Repository.shortenRefName(mergedIntoRef));
|
||||
} else {
|
||||
msgBuf.append(mergedIntoRef);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue