in_reply_to = talloc_asprintf (ctx, "<%s>",
notmuch_message_get_message_id (message));
in_reply_to = talloc_asprintf (ctx, "<%s>",
notmuch_message_get_message_id (message));
- /* We print References first because git format-patch treats it specially.
- * Git uses the first entry of References to create In-Reply-To.
+ /* We print In-Reply-To followed by References because git format-patch treats them
+ * specially. Git does not interpret the other headers specially
g_mime_object_set_header (GMIME_OBJECT (reply),
"References", references);
g_mime_object_set_header (GMIME_OBJECT (reply),
"References", references);