Re: git am and tabs in the commit messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Höger wrote:
> Hi,
>
> I use to  write commit messages in the following format:
>
> short name
>
> 	* point 1
> 	* point 2
>
> when I git format-patch and git am a change like that I get:
>
> short name
> 	
> 	* point 1	
> 		* point 2
>
>
> Why that? Are tabs unsupported?

I don't know if that is intentional or not.  I think you might want to
ask about it on the git list (git@xxxxxxxxxxxxxxx).  There was just a
recent thread there on git mailinfo (the tool that is called by git am
to parse the patch and commit message from a file) stripping out too
many []'s from the subject.  This could be another bug that no one has
yet noticed or reported.

In my quick test, leading tabs and spaces were lost when the patch was
applied with git am.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Every side I get up on is the wrong side of bed.
If it weren't so expensive, I'd wish I were dead.
    -- signed Unhappy

Attachment: pgpYUBiKWMLEf.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux