Skip to content

Commit 4583277

Browse files
committed
continuation of microsoft#84201
1 parent 6f1d6c5 commit 4583277

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/git/src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ export class Repository {
18221822
// TODO: Support core.commentChar
18231823
return message.replace(/^(\s*#)(.*)$(\n?)/gm, (_, prefix, content, suffix) => {
18241824
// https://github.com/microsoft/vscode/issues/84201#issuecomment-552834814
1825-
return /^\d+(\s|$)/.test(content) ? `${prefix}${content}${suffix}` : '';
1825+
return /^\d/.test(content) ? `${prefix}${content}${suffix}` : '';
18261826
}).trim();
18271827
}
18281828

0 commit comments

Comments
 (0)