Dead-end Situation created by amending a merge commit in a topic branch
- From
- Hans Meiser <brille1@hotmail.com>
- Date
- Oct 15, 2022, 16:07 UTC
- Message-ID
- <AS4P195MB1527956C72FD0407FF4C488EE2279@AS4P195MB1527.EURP195.PROD.OUTLOOK.COM>
- In-Reply-To
- <CA+JQ7M8Bcr9czyBNg-+sFpqGSy=3QJfps8vGPa=82QGAvqpUSw@mail.gmail.com>
It looks like it's possible to reach an unresolvable dead-end situation by amending a merge commit.
For a use-case see this issue at Stack Overflow: https://stackoverflow.com/questions/74032523/how-can-i-rebase-this-git-branch-on-master/74064773
Is this situation desired?
Shouldn't git rather emit an error message when trying to amend a merge commit?