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

3 messages from 2017-07-09 to 2017-07-09. Participants: Toralf Förster, Junio C Hamano.
Thread: https://gitlist.dev/t/46337

## Toralf Förster, 2017-07-09 16:48

Subject: enhancement request : If 2 commits to be squashed together do have the same title and comment ...
Message-ID: <66e0ec72-699c-f71b-55c7-e1f780111853@gmx.de>
URL: https://gitlist.dev/e/66e0ec72-699c-f71b-55c7-e1f780111853%40gmx.de

```
... then jast squsash them w/o questioning.

Is this a valid RFE ?

-- 
Toralf
PGP C4EACDDE 0076E94E

```

## Junio C Hamano, 2017-07-09 18:52

Subject: Re: enhancement request : If 2 commits to be squashed together do have the same title and comment ...
Message-ID: <xmqqlgnx8muc.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqlgnx8muc.fsf%40gitster.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.

```

## Toralf Förster, 2017-07-09 19:20

Subject: Re: enhancement request : If 2 commits to be squashed together do have the same title and comment ...
Message-ID: <b3e9aea7-df98-a1db-643b-ce992200ecb8@gmx.de>
URL: https://gitlist.dev/e/b3e9aea7-df98-a1db-643b-ce992200ecb8%40gmx.de
In-Reply-To: <xmqqlgnx8muc.fsf@gitster.mtv.corp.google.com>

```
On 07/09/2017 08:52 PM, Junio C Hamano wrote:
> 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.

Thx - answered my questions ! :-)


-- 
Toralf
PGP C4EACDDE 0076E94E

```
