~sircmpwn/aerc2#509: 
Adding git-commits using git am fails

Hi, compared to a format-patch patchset the pipe-output omits the From:- and Subject:-Headers.

Piped from aerc:

Signed-off-by: Name <my@email.com>
---
 recover.go         | 37 +++++++++++++++++++++++++++++++++++++
 try-it-out/main.go |  6 ++++++
 2 files changed, 43 insertions(+)
 create mode 100644 recover.go

diff --git a/recover.go b/recover.go
new file mode 100644
index 0000000..1492081
--- /dev/null
+++ b/recover.go
@@ -0,0 +1,37 @@

Output of format-patch:

From 1f0a8611eb300bad2865bf965163a5d51ce983be Mon Sep 17 00:00:00 2001
From: Name <name@email.com>
Date: Wed, 21 Apr 2021 21:36:08 +0200
Subject: [PATCH 1/3] added the panic handler

Signed-off-by: Name <name@email.com>
---
 recover.go         | 37 +++++++++++++++++++++++++++++++++++++
 try-it-out/main.go |  6 ++++++
 2 files changed, 43 insertions(+)
 create mode 100644 recover.go

diff --git a/recover.go b/recover.go
new file mode 100644
index 0000000..1492081
--- /dev/null
+++ b/recover.go
@@ -0,0 +1,37 @@

I assume the headers are cut off.

Status
RESOLVED INVALID
Submitter
~poldi1405
Assigned to
No-one
Submitted
1 year, 3 months ago
Updated
1 year, 3 months ago
Labels
No labels applied.

~poldi1405 REPORTED INVALID 1 year, 3 months ago

I found the reason: apparently, the -m switch is required. Reading the manpage completely instead of just skimming it is helpful.

Register here or Log in to comment, or comment via email.