git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Cannot rebase – possible Git for Windows bug?
       [not found] <AS4P195MB1527E825B28B3C17F39D0AB7E2259@AS4P195MB1527.EURP195.PROD.OUTLOOK.COM>
@ 2022-10-13 11:35 ` Hans Meiser
  2022-10-13 17:03   ` Erik Cervin Edin
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Meiser @ 2022-10-13 11:35 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi,

I'm not able to rebase my branch "axel" onto "master". Whenever I do, it's just like I performed a "git reset master --hard", although my branch contains loads of changes to the code.

Here's the full description of the issue at Stack Overflow:

https://stackoverflow.com/questions/74032523/how-can-i-rebase-this-git-branch-on-master

Perhaps this is a bug in git version 2.38.0.windows.1?

Your answer is appreciated
Axel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot rebase – possible Git for Windows bug?
  2022-10-13 11:35 ` Cannot rebase – possible Git for Windows bug? Hans Meiser
@ 2022-10-13 17:03   ` Erik Cervin Edin
  2022-10-15 16:07     ` Dead-end Situation created by amending a merge commit in a topic branch Hans Meiser
  0 siblings, 1 reply; 5+ messages in thread
From: Erik Cervin Edin @ 2022-10-13 17:03 UTC (permalink / raw)
  To: Hans Meiser; +Cc: git@vger.kernel.org

On Thu, Oct 13, 2022 at 1:43 PM Hans Meiser <brille1@hotmail.com> wrote:
>
> Perhaps this is a bug in git version 2.38.0.windows.1?

I've rebased a lot in this version with no issue. I'd say it's highly unlikely.

Without more information it's hard to advise on what went wrong.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Dead-end Situation created by amending a merge commit in a topic branch
  2022-10-13 17:03   ` Erik Cervin Edin
@ 2022-10-15 16:07     ` Hans Meiser
  2022-10-18 14:30       ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Meiser @ 2022-10-15 16:07 UTC (permalink / raw)
  To: Erik Cervin Edin; +Cc: git@vger.kernel.org

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Dead-end Situation created by amending a merge commit in a topic branch
  2022-10-15 16:07     ` Dead-end Situation created by amending a merge commit in a topic branch Hans Meiser
@ 2022-10-18 14:30       ` Johannes Schindelin
       [not found]         ` <AS4P195MB152726A49510B13043F1DAFEE2289@AS4P195MB1527.EURP195.PROD.OUTLOOK.COM>
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2022-10-18 14:30 UTC (permalink / raw)
  To: Hans Meiser; +Cc: Erik Cervin Edin, git@vger.kernel.org

Hi Hans,

On Sat, 15 Oct 2022, Hans Meiser wrote:

> 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

Please note that readers such as myself make a habit of not following
links thrown into a mail on the Git mailing list.

If you can summarize the problem succinctly and comprehensively, please do
so, without sending readers to read through threads elsewhere and weeding
out the relevant information for themselves. It's a better use of
everybody's time if _one_ person distills the information into a
well-written bug report, instead of forcing every reader to do that.

Ciao,
Johannes

>
> Is this situation desired?
>
> Shouldn't git rather emit an error message when trying to amend a merge commit?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Dead-end Situation created by amending a merge commit in a topic branch
       [not found]         ` <AS4P195MB152726A49510B13043F1DAFEE2289@AS4P195MB1527.EURP195.PROD.OUTLOOK.COM>
@ 2022-10-18 22:35           ` Hans Meiser
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Meiser @ 2022-10-18 22:35 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Erik Cervin Edin, git@vger.kernel.org

Hello, Johannes,

that's in fact exactly what the Stack Overflow issue does.

I wouldn't want to end up with two distinct lines of discussion on the same purpose. The Stack Overflow line should be sufficient and convenient for everyone. It's succinct yet comprehensive.

Just wanted to put your awareness to an issue in git. It's up to you to make the best of it.

Best regards,
Axel


From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Sent: Tuesday, October 18, 2022 16:30
To: Hans Meiser <brille1@hotmail.com>
Cc: Erik Cervin Edin <erik@cervined.in>; git@vger.kernel.org <git@vger.kernel.org>
Subject: Re: Dead-end Situation created by amending a merge commit in a topic branch 
 
Hi Hans,

On Sat, 15 Oct 2022, Hans Meiser wrote:

> 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

Please note that readers such as myself make a habit of not following
links thrown into a mail on the Git mailing list.

If you can summarize the problem succinctly and comprehensively, please do
so, without sending readers to read through threads elsewhere and weeding
out the relevant information for themselves. It's a better use of
everybody's time if _one_ person distills the information into a
well-written bug report, instead of forcing every reader to do that.

Ciao,
Johannes

>
> Is this situation desired?
>
> Shouldn't git rather emit an error message when trying to amend a merge commit?


From: Hans Meiser <brille1@hotmail.com>
Sent: Wednesday, October 19, 2022 00:34
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Erik Cervin Edin <erik@cervined.in>; git@vger.kernel.org <git@vger.kernel.org>
Subject: Re: Dead-end Situation created by amending a merge commit in a topic branch 
 
Hello, Johannes,

that's in fact exactly what the Stack Overflow issue does.

I wouldn't want to end up with two distinct lines of discussion on the same purpose. The Stack Overflow line should be sufficient for everyone. It's succinct yet comprehensive.

Just wanted to put your awareness to an issue in git. It's up to you to make the best of it.

Best regards,
Axel


From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Sent: Tuesday, October 18, 2022 16:30
To: Hans Meiser <brille1@hotmail.com>
Cc: Erik Cervin Edin <erik@cervined.in>; git@vger.kernel.org <git@vger.kernel.org>
Subject: Re: Dead-end Situation created by amending a merge commit in a topic branch 
 
Hi Hans,

On Sat, 15 Oct 2022, Hans Meiser wrote:

> 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

Please note that readers such as myself make a habit of not following
links thrown into a mail on the Git mailing list.

If you can summarize the problem succinctly and comprehensively, please do
so, without sending readers to read through threads elsewhere and weeding
out the relevant information for themselves. It's a better use of
everybody's time if _one_ person distills the information into a
well-written bug report, instead of forcing every reader to do that.

Ciao,
Johannes

>
> Is this situation desired?
>
> Shouldn't git rather emit an error message when trying to amend a merge commit?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-18 22:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AS4P195MB1527E825B28B3C17F39D0AB7E2259@AS4P195MB1527.EURP195.PROD.OUTLOOK.COM>
2022-10-13 11:35 ` Cannot rebase – possible Git for Windows bug? Hans Meiser
2022-10-13 17:03   ` Erik Cervin Edin
2022-10-15 16:07     ` Dead-end Situation created by amending a merge commit in a topic branch Hans Meiser
2022-10-18 14:30       ` Johannes Schindelin
     [not found]         ` <AS4P195MB152726A49510B13043F1DAFEE2289@AS4P195MB1527.EURP195.PROD.OUTLOOK.COM>
2022-10-18 22:35           ` Hans Meiser

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).