mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
When both sides of a merge moved a submodule's gitlink, git reports it as "UU". Pressing space used to fall into the submodule no-op guard and pop the confusing "Nothing to stage..." error, and enter just entered the submodule, which does nothing to resolve the superproject conflict. Treat a conflicted submodule like the other non-textual conflicts: both space and enter now open a picker offering the two candidate commits, "current" and "incoming", each labelled with its summary. `git checkout --ours/--theirs` is a no-op on gitlinks, so we resolve by checking the submodule out at the chosen commit and staging it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| add.go | ||
| enter.go | ||
| enter_nested.go | ||
| remove.go | ||
| remove_nested.go | ||
| reset.go | ||
| reset_folder.go | ||
| resolve_conflict.go | ||
| shared.go | ||
| stage.go | ||
| stage_all_with_dirty_submodule.go | ||
| stage_dirty_only.go | ||