# Diff and merge for supposedly identical or very similar notes

**URL:** <https://discourse.joplinapp.org/t/diff-and-merge-for-supposedly-identical-or-very-similar-notes/17944>\
**Category:** Features\
**Created:** [11 June 2021 18:22 UTC](https://discourse.joplinapp.org/t/diff-and-merge-for-supposedly-identical-or-very-similar-notes/17944 "2021-06-11T18:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manouchk](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/manouchk/32/6505_2.png) [@manouchk](https://discourse.joplinapp.org/u/manouchk)\
**Post date:** [11 June 2021 18:22 UTC](https://discourse.joplinapp.org/t/diff-and-merge-for-supposedly-identical-or-very-similar-notes/17944/1 "2021-06-11T18:22:03Z")

</div>

One annoyance that occurs is the presence of supposedly identical notes. This kind of situation is induced by user. It can be typically induced by people that import annotations from other app. I don't know if it is very common. In my case it occurred because I imported annotations from google keep and I had problem with synchronization with joplin. I ended up with two set of 5000 notes that are almost identical as some notes were modified and were not synchronized on all devices.

It has some similarities with the feature "Diff for conflict" (see [Diff for conflicting notes](https://discourse.joplinapp.org/t/diff-for-conflicting-notes/1758)) but it is not identical to it.

I think of it in the following situation: You search some notes and you identify two notes that looks similar and maybe identical. If the notes are big, it is quite annoying to check if they are identical and if there is a small difference, this would be very helpful to be able to see difference in order to do a manual or automated decision.  
If notes are really identical, this could be recognized and user could choose which note to keep, for example.  
If notes are only very similar, difference could be highlighted, user could edit one of them and copy missing part and keep only one if this is the case.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [11 June 2021 18:27 UTC](https://discourse.joplinapp.org/t/diff-and-merge-for-supposedly-identical-or-very-similar-notes/17944/2 "2021-06-11T18:27:20Z")

</div>

There is a GSoC project for conflict notes.  
Maybe this would be implemented in the plugin.

> [@Conflict Resolution Plugin](https://discourse.joplinapp.org/t/conflict-resolution-plugin/17489/20):
>
> Two similar notes, which you may have from a clipped website, import, ... This was just a question from me, since a compare of these notes is similar to a conflict note. But this should not be a focus of the plugin, at most a strech goal and was only a thought of mine. That would be good, I haven't had many conflicts yet, but it's quite easy to overlook the Conflicts notebook when you have many notebooks. Since all conflict notes should have a 1-to-1 assignment, you could select the approp…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [10 August 2021 18:28 UTC](https://discourse.joplinapp.org/t/diff-and-merge-for-supposedly-identical-or-very-similar-notes/17944/3 "2021-08-10T18:28:10Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
