# Unified wording for discarding file changes in git panel \(\#45124\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/80aefbe8e15d560e38e829b326c159d07c4ff09f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 80aefbe8e15d560e38e829b326c159d07c4ff09f

Requested commit: 80aefbe8e15d560e38e829b326c159d07c4ff09f

Commit: 80aefbe8e15d560e38e829b326c159d07c4ff09f

Tree: 6a3653f5555fb66106965f565e699d3949638f35

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Unified wording for discarding file changes in git panel (#45124)

In the `...` menu, we use `Discard...`

<img width="390" height="317" alt="SCR-20251217-kbdh"
src="https://github.com/user-attachments/assets/f88271a6-efab-48fb-bac1-2dacf4fad8f0"
/>

But in the context menu of each entry, we use "Restore..."

<img width="366" height="250" alt="SCR-20251217-kbcj"
src="https://github.com/user-attachments/assets/6c10842b-80f4-4868-a655-2703cba6bd5e"
/>

This PR just makes this more consistent, by using "Discard..." in the
second case.

Release Notes:

- Unified wording for discarding file changes in git panel
```

## Parents

- [1705a7ce4e86fd2160e32b16e1e3ebe6c92d4dfa](https://git.cafe/gitcafe/zed/commit/1705a7ce4e86fd2160e32b16e1e3ebe6c92d4dfa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/80aefbe8e15d560e38e829b326c159d07c4ff09f?format=markdown)
