lint: formatted code

Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Moritz Poldrack 2022-08-04 10:34:21 +02:00 committed by Robin Jarry
parent fdfec2c07a
commit b92e9dab19
1 changed files with 3 additions and 1 deletions

View File

@ -237,7 +237,9 @@ func newMessagesReader(messages []*types.FullMessage, useMbox bool) io.Reader {
var gitMessageIdRe = regexp.MustCompile(`^(\d+\.\d+)-(\d+)-(.+)$`)
// Git send-email Message-Id headers have the following format:
// DATETIME.PID-NUM-COMMITTER
//
// DATETIME.PID-NUM-COMMITTER
//
// Return a copy of the message id with NUM zero-padded to three characters.
func padGitMessageId(msgId string) string {
matches := gitMessageIdRe.FindStringSubmatch(msgId)