Skip to content

Commit

Permalink
[git] Do not use hyphen in cherry picked message
Browse files Browse the repository at this point in the history
There are integrations out there that relies on the commit message for some automatic checks. This change will break those, as git itself does not use the hyphen in hte message.

This reverts 43f3d2f090e7761782e1d8b249e8a824f6fe6598

GitOrigin-RevId: 583619893032838e76914de7f7012efdd018de32
  • Loading branch information
dmitriysmirnovjb authored and intellij-monorepo-bot committed Nov 5, 2021
1 parent 8a9d060 commit 0ad8611
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private static boolean isNothingToCommitMessage(@NotNull GitCommandResult result
private String createCommitMessage(@NotNull GitRepository repository, @NotNull VcsFullCommitDetails commit) {
String message = commit.getFullMessage();
if (shouldAddSuffix(repository, commit.getId())) {
message += String.format("\n\n(cherry-picked from commit %s)", commit.getId().asString()); //NON-NLS Do not i18n commit template
message += String.format("\n\n(cherry picked from commit %s)", commit.getId().asString()); //NON-NLS Do not i18n commit template
}
return message;
}
Expand Down

0 comments on commit 0ad8611

Please sign in to comment.