threads / bug / 45463

Warn user about known Git Rebase bug?!

Subject: Warn user about known Git Rebase bug?!

## tl;dr

2 messages between Mar 22, 2017 and Mar 22, 2017.

replies: 1people: 2as markdown or json

Lars Schneider· Mar 22, 2017, 13:55 UTC · lore
Hi,

we rebased a branch using "--preserve-merges --interactive" and were surprised that the operation reported success although it silently omitted commits (Git 2.12 on Windows). A little search revealed that these are likely known bugs [1]. Would it make sense to print an appropriate warning message if a user runs rebase with "--preserve-merges --interactive"?

Thanks, Lars

[1] https://git-scm.com/docs/git-rebase#_bugs
Jonathan Nieder· Mar 22, 2017, 22:39 UTC · re: Lars Schneider · lore

Re: Warn user about known Git Rebase bug?!

Lars Schneider wrote:
Show 6 quoted lines
> we rebased a branch using "--preserve-merges --interactive" and were 
> surprised that the operation reported success although it silently 
> omitted commits (Git 2.12 on Windows). A little search revealed that 
> these are likely known bugs [1]. Would it make sense to print an 
> appropriate warning message if a user runs rebase with 
> "--preserve-merges --interactive"?
Sounds like a good idea.  Care to suggest a patch?

Thanks, Jonathan

> [1] https://git-scm.com/docs/git-rebase#_bugs

← back to recent threads