Expose the entire commit message instead of only the subject
Some callers are interested in the entire commit message, or more specifically in the footers of the commit message. Hence, we expose the entire commit message to give the callers more flexibility. Original change that exposed the subject in I420161ca4. Change-Id: I40341c4daee118a5b80958e7221abed835d52a05
This commit is contained in:
@@ -32,11 +32,11 @@ public interface ParentWebLink extends WebLink {
|
||||
*
|
||||
* @param projectName name of the project
|
||||
* @param commit commit sha1 of the parent revision
|
||||
* @param subject first line of the commit message
|
||||
* @param commitMessage the commit messsage of the change
|
||||
* @param branchName target branch of the change
|
||||
* @return WebLinkInfo that links to parent commit in external service, null if there should be no
|
||||
* link.
|
||||
*/
|
||||
WebLinkInfo getParentWebLink(
|
||||
String projectName, String commit, String subject, String branchName);
|
||||
String projectName, String commit, String commitMessage, String branchName);
|
||||
}
|
||||
|
@@ -32,11 +32,11 @@ public interface PatchSetWebLink extends WebLink {
|
||||
*
|
||||
* @param projectName name of the project
|
||||
* @param commit commit of the patch set
|
||||
* @param subject first line of the commit message
|
||||
* @param commitMessage the commit message of the change
|
||||
* @param branchName target branch of the change
|
||||
* @return WebLinkInfo that links to patch set in external service, null if there should be no
|
||||
* link.
|
||||
*/
|
||||
WebLinkInfo getPatchSetWebLink(
|
||||
String projectName, String commit, String subject, String branchName);
|
||||
String projectName, String commit, String commitMessage, String branchName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user