Re: inaccurate commit message message?
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Sep 4, 2010, 23:07 UTC
- Message-ID
- <AANLkTi=eK4qt7KLg7z-3vqV+hgUoW_xire6WftBJAYku@mail.gmail.com>
- In-Reply-To
- <AANLkTi=Vb2cQHPo388m9HYVdYkk3XC_-pM9bm182PWyf@mail.gmail.com>
Heya,
On Sat, Sep 4, 2010 at 17:55, Ramana Kumar <ramana.kumar@gmail.com> wrote:
> The documentation, both in man git-commit and in the commit message > message, is misleading when you do git commit --verbose.
Correct.
> My proposal is to make it less misleading, by saying in at least one, > and ideally both, of those places what you just told me for the first > time: when you do a git commit --verbose, the diff lines and > everything after will be ignored for the commit message.
Sounds like a good idea. See builtin/commit.c around line 660. You'll want to check for the verbose flag and adjust the message printed there accordingly. See Documentation/SubmittingPatches.txt on how to submit patches.
Please do ask if you have any questions, I'd be glad to help.
-- Cheers, Sverre Rabbelier