Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Improve Undo Last Discard #2336

Description

@wadethestealth

Summary

Improve the intelligence of the undo-last-discard command. This would essentially allow for undo last discard to remember or know of the previous markers/hunks it removed, so that undoing would allow for picking which changes of the undo you actually want back.

Motivation

A user (@rdpoor) accidentally discarded all changes and used the undo command, however when the undo command undoes changes with file markers, it marks the whole file as in conflict rather than just the lines that are different.

Additional context

About around where original discussion begins in slack

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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