Skip to content

Uncommitted changes lost without warning if another branch is checked out with the context menu #1521

@jeremypw

Description

@jeremypw

What Happened?

Changed the current working branch before committing some changes. The branch switched to overwrote any changed files in the working directory or index. They were not restored on switching back to the original branch.

Steps to Reproduce

  1. Open a branch of a git project
  2. Make some (unwanted) changes
  3. Switch to another branch of the same project
  4. Not that the changes are lost without warning

Expected Behavior

At least a warning should be given with an option to back out before overwriting any uncommitted changes.

OS Version

7.x (Horus)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions