Rebase window gets stuck after conflicts are resolved and "Continue rebase" button clicked
See original GitHub issueDescribe the bug
Rebase window gets stuck after conflicts are resolved and “Continue rebase” button clicked
Version & OS
Version 2.9.4 (x64) on: MacOS 12.0.1 with Git 2.30.1 & Windows 7 with Git 2.33.1
Steps to reproduce the behavior
- Clone a repo from GitHub.
- git config pull.rebase true git config rebase.autoStash true
- On GitHub web, add a file “j” with content “123” and commit.
- On local cloned repo, do not pull latest change, but add a file “j” with content “456” and commit.
- On Github Desktop, click Repository -> Pull, a window pops out, showing 1 conflicted file.
- Click “Open in some editor”, resolve the conflict, then save the file, go back to Github Desktop.
- Now the pop-out window shows 0 conflicted files, so click “Continue rebase”.
- The window will stuck forever, have to force quit the app then reopen, this time the “Continue rebase” can complete.
Expected behavior
The rebase can complete without problem.
Actual behavior
The rebase window gets stuck.
Screenshots
Logs
2021-10-29T09:42:15.404Z - info: [ui] Executing pull: git -c credential.helper= -c rebase.backend=merge pull --progress origin (took 2.272s)
2021-10-29T09:42:15.405Z - error: [ui] git -c credential.helper= -c rebase.backend=merge pull --progress origin
exited with an unexpected code: 1.
stdout:
CONFLICT (add/add): Merge conflict in j
Auto-merging j
stderr:
remote: Enumerating objects: 3, done.
remote: Counting objects: 33% (1/3)
remote: Counting objects: 66% (2/3)
remote: Counting objects: 100% (3/3)
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 50% (1/2)
remote: Compressing objects: 100% (2/2)
remote: Compressing objects: 100% (2/2), done.
remote: Total 2 (delta 1), reused 0 (delta 0), pack-reused 0
From https://github.com/***/example
0dc2203…595475d master -> origin/master
Rebasing (1/1)
error: could not apply de6810f… Create j
Resolve all conflicts manually, mark them as resolved with
“git add/rm <conflicted_files>”, then run “git rebase --continue”.
You can instead skip this commit: run “git rebase --skip”.
To abort and get back to the state before “git rebase”, run “git rebase --abort”.
Could not apply de6810f… Create j
(The error was parsed as 6: We found some conflicts while trying to rebase. Please resolve the conflicts before continuing.)
Additional context
For a successful rebase, additional logs will show, but when the window hangs, no following logs.
2021-10-29T09:44:14.948Z - info: [ui] [continueRebase] continuing rebase for 595475de35a731d1ae3bd1672f04e2b7890dedab 2021-10-29T09:44:15.077Z - info: [ui] [continueRebase] completed rebase - got CompletedWithoutError and on tip 95a5dd13786d336d207c13d0057375cd6ae1e685 - kind Valid
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top GitHub Comments
@tidy-dev Thanks a lot for the fix, Desktop now works like a charm.
I’ve just updated and will be testing it along the week. Thanks for fixing this bug! My team totally loves the tool but this was the issue we most often encounter.