# Make migration notification not display if some bug causes no changes \(\#24578\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 43afa68dab929d0d0e99eb97204d24a7ca5cd397

Requested commit: 43afa68dab929d0d0e99eb97204d24a7ca5cd397

Commit: 43afa68dab929d0d0e99eb97204d24a7ca5cd397

Tree: 85acf607dc1df48eaa160645e2ed319663b56da9

Author: Michael Sloan

Committer: GitHub

## Message

```
Make migration notification not display if some bug causes no changes (#24578)

When working on #24442, I did a project wide replacement of
`AcceptInlineCompletion` with `AcceptEditPrediction`, as I was updating
the branch to mmain and that rename had happened. This also replaced it
in the migrator, causing the migration notification to always pop up on
keymap changes.

Checking if the migration actually changes the text makes it behave
better if this variety of bug happens in the future.

Release Notes:

- N/A
```

## Parents

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

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