Re: Is this a bug?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 22, 2013, 21:48 UTC
- Message-ID
- <7vehg8c94x.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CABURp0rO5zJywFN16=Sn20b2DAVA7XBs4EC4GxGbxftXqUS6gA@mail.gmail.com>
Phil Hord <phil.hord@gmail.com> writes:
> Or maybe --amend should imply --cleanup=whitespace.
I am fairly negative on that.
Such a hidden linkage, even if it is documented, is just one more thing people need to learn.
It _might_ be interesting (note: I did not say "worthwhile" here) to think what happens if we scanned the message (either coming from the commit being amended, -F file option, or -m message option), picked a punctuation character that does not appear at the beginning of the lines in it, and automatically adjusted core.commentchar if '#' appears at the beginning of one of the lines, though.