summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/am.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/am.c b/builtin/am.c
index 2fc2d1e82c..30c87c1953 100644
--- a/builtin/am.c
+++ b/builtin/am.c
@@ -1243,6 +1243,10 @@ static int parse_mail(struct am_state *state, const char *mail)
fclose(mi.input);
fclose(mi.output);
+ if (mi.format_flowed)
+ warning(_("Patch sent with format=flowed; "
+ "space at the end of lines might be lost."));
+
/* Extract message and author information */
fp = xfopen(am_path(state, "info"), "r");
while (!strbuf_getline_lf(&sb, fp)) {