Skip to content

Commits panel: commit loses focus after "edit commit" when rebase.updateRefs is enabled #2869

@OliverJAsh

Description

@OliverJAsh

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Focus a commit and run "edit commit"

Expected behavior
Once the rebase begins, the selected commit should still have focus.

Screenshots

Actual behavior: once the rebase begins, the selected commit loses focus. I believe this happens because update-refs is inserted as a list item above.

Screen.Recording.2023-08-03.at.10.54.59.mov

Version info:
commit=, build date=, build source=nix, version=0.39.4, os=darwin, arch=arm64, git version=2.40.1
git version 2.40.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions