Re: [PATCH] git-commit: add --verbatim to allow unstripped commit messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 20, 2007, 23:50 UTC
- Message-ID
- <7vlk7plydv.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LFD.0.9999.0712201324270.21557@woody.linux-foundation.org>
I said in the log message when applying your version:
We even stripped "#" lines from messages given this way:
git commit -m "# Message starting with a hash-mark"
which was argurably a bug.
But I wonder if people are using a workflow like this:
$ cp $company_template my_message
$ edit my_message
$ git commit -F my_messageTo them, this change is a regression, as $company_template may have had insn like "# Here you describe your changes..." and the workflow relied on the current behaviour of stripping them.