git am and tabs in the commit messages
Todd Zullinger
tmz at pobox.com
Mon Jun 29 20:27:01 UTC 2009
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 at vger.kernel.org). 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090629/9e2168d1/attachment-0001.sig>
More information about the fedora-list
mailing list