On Wed, 2011-06-08 at 16:52 -0500, Michael Cronenworth wrote:
> 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?


I suspect that you are saving your patches with Windows line endings
instead of UNIX line endings, so when you import it on linux, they are
no longer available. Try running dos2unix on the file before importing
it.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to