{"thread":{"id":"36907","subject":"Re: Multi-line commit message changed to a single one","startedAt":"2014-06-13T13:40:53Z","lastAt":"2014-06-13T13:40:53Z","messageCount":1,"participants":["Erik Faye-Lund"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"244135","messageId":"CABPQNSbBugkr-BVph3zxmaE5jjfuoagmmr1c9ivGOyMuTkbSRg@mail.gmail.com","threadId":"36907","inReplyTo":"b1056272-4b49-439e-a071-88b4262066bb@googlegroups.com","subject":"Re: Multi-line commit message changed to a single one","fromName":"Erik Faye-Lund","fromEmail":"kusmabite@gmail.com","sentAt":"2014-06-13T13:40:53Z","receivedAt":"2014-06-13T13:40:53Z","isPatch":false,"sender":{"key":"kusmabite@gmail.com","avatar":"https://avatars.githubusercontent.com/u/47073?v=4"},"body":"On Fri, Jun 13, 2014 at 1:44 PM,  <jese.jlf@gmail.com> wrote:\n> Hi,\n>\n>      Here is a simple script to show my problem. I don't know if it's a\n> wrong operation (from me), a wrong configuration/parameter, or either a bug,\n> but I don't get what I expected.\n>      From a git repo (#1), I created a commit message containing two lines.\n> Then I created a patch (git format-patch) and copy/paste it to another git\n> repo (#2). When I import this patch (git am), the commit message is modified\n> and both lines are \"merged\" to a single one.\n>     Screenshot providen (repo1 : two separated lines, repo2 : a single line)\n> with .sh script to reproduce the whole test-case.\n>\n> If someone could tell me what is wrong... Thanks in advance\n\nThis isn't unique to Git for Windows, I just tested on Linux and the\nsame occurs.\n\nWhat seems to happen is that git format-patch puts both lines in the\nsubject of the e-mail, as you can find described here:\n\nhttps://www.kernel.org/pub/software/scm/git/docs/git-format-patch.html\n\n\"By default, the subject of a single patch is \"[PATCH] \" followed by\nthe concatenation of lines from the commit message up to the first\nblank line (see the DISCUSSION section of git-commit(1)).\"\n\nSo, this is entirely intentional, it seems.\n\n-- \n-- \n*** Please reply-to-all at all times ***\n*** (do not pretend to know who is subscribed and who is not) ***\n*** Please avoid top-posting. ***\nThe msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.\n\nYou received this message because you are subscribed to the Google\nGroups \"msysGit\" group.\nTo post to this group, send email to msysgit@googlegroups.com\nTo unsubscribe from this group, send email to\nmsysgit+unsubscribe@googlegroups.com\nFor more options, and view previous threads, visit this group at\nhttp://groups.google.com/group/msysgit?hl=en_US?hl=en\n\n--- \nYou received this message because you are subscribed to the Google Groups \"msysGit\" group.\nTo unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.\nFor more options, visit https://groups.google.com/d/optout.\n"}]}