# Fix duplicate item creation in project panel \(\#2532\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 128c19875db13d68d9c0bba65028fdb09446906c

Requested commit: 128c19875db13d68d9c0bba65028fdb09446906c

Commit: 128c19875db13d68d9c0bba65028fdb09446906c

Tree: 759048ba0f41d1bd1387815e888cfd0adb98a699

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix duplicate item creation in project panel (#2532)

Closes
https://linear.app/zed-industries/issue/Z-1760/creating-a-new-file-with-the-same-name-as-an-existing-file-overwrites

Now every rename/creation editor won't do anything if a duplicate name
is submitted.

Release Notes:

* Fixed a bug when created in project panel items with duplicate names
were overwriting the old files
```

## Parents

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

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

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