Re: [PATCH] have merge put FETCH_HEAD data in commit message

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

 



"Michael S. Tsirkin" <mst@xxxxxxxxxxxxxxxxxx> writes:

>> > 3. if I want to have some text coming *before* the commit
>> >    message ignored, there's no way to do this
>> > 4. there's no way to override the subject from within the message
>> >    (like there is with author/From line)
>> 
>> How about this?
>
> Looks good. What about 3?

When e-mailed message has garbage at the beginning (e.g. "Hi!"),
git users can either run "commit --amend" immiediately after
"git am", or edit the mbox with editor before running
"applymbox", so the need has not been felt much us, and that is
the primary reason why it is not there.  Additionally we do not
think it is particularly a good practice to have "cover letters"
at the top (cf. $gmane/5418), so it was never high priority for
us to add that feature to encourage such a practice.

Having said that, on top of the recent work by Don Zickus on
mailinfo, you _could_ add support for scissors "^-- >8 --$" if
you want.

>> Also check t5100 and its sample mailbox,
>> especially the "third patch" from A U Thor, which I forwarded
>> with the subject "another patch".
>
> It's funny ... but what should I look at there, specifically?

It is an example that you can override Subject: (#4 above).

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]