aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/pipe.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-08-04 10:34:21 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-04 21:56:33 +0200
commitb92e9dab19fdee1fc0ffc7d562d6516379395bfa (patch)
treecb1638a29bc896bfcd9f7690205ceeec20f322bf /commands/msg/pipe.go
parentfdfec2c07a8d37f2017511fcca6a060c4e6e8eac (diff)
downloadaerc-b92e9dab19fdee1fc0ffc7d562d6516379395bfa.tar.gz
lint: formatted code
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/pipe.go')
-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)