Skip to content

Change label of "Discard Changes" context menu entry for unstaged files #17

@waldyrious

Description

@waldyrious

Currently, right-clicking on a file in the unstaged area shows a menu where the first entry is "Stage File" but the second one is "Discard Changes":

Image

I understand that "Discard File" could wrongly give the impression that it would delete the file*, but on the other hand it makes it ambiguous whether the action would apply only to this file or to the entire working directory. Maybe it's a silly concern, but for destructive actions, I prefer to be safe than sorry 😅

So what about something like "Discard changes to this file", or "Discard File Changes"? (I personally prefer the former.)

* That should probably be an additional option here as well, since in this case it's a new file altogether — or alternatively, adding it to the .gitignore list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions