aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/msg/pipe.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go
index 71e402d2..176d1f0d 100644
--- a/commands/msg/pipe.go
+++ b/commands/msg/pipe.go
@@ -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)