apply: rename new_sha1_prefix and old_sha1_prefix
[gitweb.git] / builtin / am.c
index 162a048bf7a6399b3ab1b5a33045ba726803ff0e..5e643e2a3e3d70d9c674d3edab2eb1f2f08f3392 100644 (file)
@@ -1244,6 +1244,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)) {