M
M
Miguel De Cervantes2017-06-23 19:27:06
git
Miguel De Cervantes, 2017-06-23 19:27:06

How is it more convenient to track the transfer of a piece of text / code to another part of the file?

Both in text and in code, often some piece is simply transferred from one part of the file to another. Or even between files.
In the default diff strategy, this is marked as "removed here, added there". And when there are a lot of such transfers in a file, it becomes difficult to understand what went where and what changes were made in addition to transfers.
This is especially true for text, such as documentation, when moving a section or paragraph to another part of the document is not as important as other changes.
Are there ways (strategies, plugins, programs) to look at diff, where not only "Added", "Removed", "Changed" will be highlighted, but also "Moved" (helping to see where it was moved)? Ideally, these "statuses" can be combined, as for example, the entire line is marked "Changed", and inside, a specific word / character is additionally highlighted as "Deleted" or "Added".
It is necessary to compare markdown files that are versioned in git (the review is carried out by gerrit, ideally, it would be possible to compare directly there).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question