Skip to content

"d" instead of reverting submodule, deletes it, inside a commit #4932

@ilan-schemoul

Description

@ilan-schemoul

Describe the bug

Usually if I click on a commit, I see a modified file and I click "d" it reverts the changes. But in case of submodule, it deletes the entire submodule.

To Reproduce

Steps to reproduce the behavior:

  1. Create a commit with a modified sumodule and commit the new SHA1 of the modified submodule in the parent
  2. Go in the list of commits [4] and enter on the commit
  3. Go down the submodule click delete
    The entire submodule is deleted

Expected behavior

Same as regular files, checkout the HEAD~, not delete it

Screenshots

If applicable, add screenshots to help explain your problem.

Version info:

0.55
git 2.43.0

Additional context

Add any other context about the problem here.

Note

Please try updating to the latest version or manually building the latest master to see if the issue still occurs.

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