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

Re: enhancement request : If 2 commits to be squashed together do have the same title and comment ...

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 9, 2017, 18:52 UTC
Message-ID
<xmqqlgnx8muc.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<66e0ec72-699c-f71b-55c7-e1f780111853@gmx.de>
Toralf Förster <toralf.foerster@gmx.de> writes:
> ... then jast squsash them w/o questioning.
>
> Is this a valid RFE ?

In the form, it is valid---sending a message to git@vger.kernel.org is the right way to describe a problem and ask for a help (or better yet, propose a solution ;-).

I am guessing that you are talking about "squash" in "rebase -i" command? If so, instead of saying "squash", you can say "fixup", which will squish the change into the commit to be corrected while retaining the log message of it, which makes the new feature you are looking for unnecessary, I think.

Unless I misunderstood what you want, that is.
Previous: Toralf FörsterNext: Toralf Förster
Message 2 of 3 in “enhancement request : If 2 commits to be squashed together do have the same title and comment ...”
  1. Toralf FörsterJul 9, 2017
  2. Junio C HamanoJul 9, 2017
  3. Toralf FörsterJul 9, 2017

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.