# migrator: Fix case where users see migration banner despite no diff changes \(\#26982\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4b775505f5891c3dd21e8cd9d5eafc7fa14e7994

Requested commit: 4b775505f5891c3dd21e8cd9d5eafc7fa14e7994

Commit: 4b775505f5891c3dd21e8cd9d5eafc7fa14e7994

Tree: 3f5381382d90706fda6d5db0885bab73a3bc854e

Author: Smit Barmase

Committer: GitHub

## Message

```
migrator: Fix case where users see migration banner despite no diff changes (#26982)

Fixes edge case where after carrying out all migrations if final text is
same as existing text, we don't need to ask user to do anything, despite
migrations edits are being applied internally. E.g. A -> B - > C -> A

Release Notes:

- N/A
```

## Parents

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

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