git patch comments

Michael Cronenworth mike at cchtml.com
Wed Jun 8 21:52:49 UTC 2011


I just realized git patches I have been applying to a local repository 
are not saving the comments correctly.

The git patch has properly formatted, with newlines, comments. Some have 
bullet points. When I run "git am ~/0001-fix.patch" the resulting git 
history shows the git comment as all one line as the newlines have been 
removed.

This:
Git comment
  - bullet 1
  - bullet 2

Turns into:
Git comment - bullet 1 - bullet 2

Am I using git incorrectly or is this a git bug?

Thanks,
Michael


More information about the users mailing list