git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Phil Hord
Message 6 of 6 in “RE: Is this a bug?”
  1. David WadeFeb 19, 2013
  2. Andreas EricssonFeb 19, 2013
  3. Erik Faye-LundFeb 19, 2013
  4. Duy NguyenFeb 19, 2013
  5. Phil HordFeb 22, 2013
  6. Junio C HamanoFeb 22, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.