Skip to content

Update the die() preserve-merges messages to help some users #3708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 22, 2022

Conversation

PhilipOakley
Copy link

Hi,

This small update to the die() preserve-merges messages is a response to the reported edge case in the Git-for-Windows googlegroups thread where even git rebase --continue would die.

The preserve option is still offered in the latest editions of Visual Studio (*), despite being deprecated for a long time, so the potential for unfamiliar users to fall into the same possible traps of running a pull-preserve (then with conflicts) on mixed Git versions could still occur. E.g. if the repo is on a network drive, and different users, with different Git versions collaborate on fixing conflicts.

Let's beef up the die messages to point users toward these resolutions.

(*) I have logged a feedback with Visual Studio that the Preserve setting should be removed, but initially they redirected it to different issue. I've responded.

Philip

Git will die if a "rebase --preserve-merges" is in progress.
Users cannot --quit, --abort or --continue the rebase.

This sceario can occur if the user updates their Git, or switches
to another newer version, after starting a preserve-merges rebase,
commonly via the pull setting.

One trigger is an unexpectedly difficult to resolve conflict, as
reported on the `git-users` group.
(https://groups.google.com/g/git-for-windows/c/3jMWbBlXXHM)

Tell the user the cause, i.e. the existence of the directory.
The problem must be resolved manually, `git rebase --<option>`
commands will die, or the user must downgrade. Also, note that
the deleted options are no longer shown in the documentation.

Signed-off-by: Philip Oakley <[email protected]>
The `--preserve-merges` option was removed by v2.35.0. However
users may not be aware that it is also a Pull option, and it is
still offered by major IDE vendors such as Visual Studio.

Extend the `--preserve-merges` die message to direct users to
this option and it's locations.

Signed-off-by: Philip Oakley <[email protected]>
@PhilipOakley PhilipOakley requested a review from dscho February 21, 2022 23:54
@dscho dscho merged commit 158a30d into git-for-windows:main Feb 22, 2022
dscho added a commit that referenced this pull request Feb 22, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Feb 22, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Feb 22, 2022
Update the die() preserve-merges messages to help some users
@dscho dscho added this to the Next release milestone Feb 22, 2022
dscho added a commit that referenced this pull request Feb 22, 2022
Update the die() preserve-merges messages to help some users
@PhilipOakley
Copy link
Author

Thank you @dscho , and thank you for pushing it forward to GGG.

Hopefully Microsoft will pick up on the needed updates to Visual Studio's Git integration.
💯

dscho added a commit that referenced this pull request Feb 24, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Feb 24, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Feb 24, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Feb 25, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 1, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 1, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 1, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 1, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 1, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 2, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 2, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 3, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 4, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 7, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 7, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 8, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 9, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Mar 9, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request May 31, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request May 31, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request May 31, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 1, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 1, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 1, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 2, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 2, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 2, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 2, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 3, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 3, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 3, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 3, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 5, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 7, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 7, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 8, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 8, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 9, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 13, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 13, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 13, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 14, 2022
Update the die() preserve-merges messages to help some users
mjcheetham pushed a commit to mjcheetham/git that referenced this pull request Jun 14, 2022
Update the die() preserve-merges messages to help some users
git-for-windows-ci pushed a commit that referenced this pull request Jun 15, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 15, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 18, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 23, 2022
Update the die() preserve-merges messages to help some users
dscho added a commit that referenced this pull request Jun 27, 2022
Update the die() preserve-merges messages to help some users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants