Re: [PATCH] have merge put FETCH_HEAD data in commit message
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 4, 2007, 06:09 UTC
- Message-ID
- <7vircc8ybz.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070404060213.GB31984@mellanox.co.il>
"Michael S. Tsirkin" <mst@dev.mellanox.co.il> writes:
Show 14 quoted lines
>> When e-mailed message has garbage at the beginning (e.g. "Hi!"), >> git users can either run "commit --amend" immiediately after >> "git am", > > This one would overwrite the authorship information though, > would it not? I actually wished several times for an --amend-message > commit flag that would only edit the message, preserving the author > (and possibly date?) metadata. > Of course, I simply copy the author and pass it in --author, > but it's somewhat awkward to do. Do others notice this? > > *Maybe* git can be even smarter, and notice that only > commit message has changed, and preserve the author automatically > in this case? I haven't looked at how hard that would be to do.
Maybe you can try what you complain about out before you rant? I amend other people's commit messages after the fact almost *every* *day*.