Skip to content

Commit cec67d8

Browse files
Change default prefix to single space
Since the message part gets trimmed its fine to use the single space default. In case it's at the beginning of the line it will be trimmed away.
1 parent ab9091e commit cec67d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hook/Message/Action/InjectIssueKeyFromBranch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private function createNewCommitMessage(Options $options, CommitMessage $msg, st
9393
// let's figure out where to put the issueID
9494
$target = $options->get('into', 'body');
9595
$mode = $options->get('mode', 'append');
96-
$prefix = $options->get('prefix', '');
96+
$prefix = $options->get('prefix', ' ');
9797

9898
// overwrite either subject or body
9999
$newMsgData = ['subject' => $msg->getSubject(), 'body' => $msg->getBody()];

0 commit comments

Comments
 (0)