# Merge Workspace::save_item into Pane::save_item · gitcafe/zed

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

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

Visibility: public

Requested revision: 88a32ae48d81dad90c5b30515ce2e8b595c29cb4

Requested commit: 88a32ae48d81dad90c5b30515ce2e8b595c29cb4

Commit: 88a32ae48d81dad90c5b30515ce2e8b595c29cb4

Tree: 779b95cb08c0c88da6bfbd1d1cb8b80e4842d74f

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Merge Workspace::save_item into Pane::save_item

These methods were slightly different which caused (for example) there
to be no "Discard" option in the conflict case at the workspace level.

To make this work, a new SaveBehavior (::PromptForNewPath) was added to
support SaveAs.

```

## Parents

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

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