Skip to main content
diff

diff

1 7.5
A file that shows which lines changed between two versions of text or code
  • noun
  • /dɪf/
  • Specialized
translation icon : diferencia
  • When collaborating on a project, we always review the diff to understand how the code has been altered.

And really the two things that I'd left to convince you of is let's let me just find here's my auto diff thing.

Examples

  • It's a different tradeoff than with Git, but SVN gives you real diffs, and you can coordinate changes from groups of contributors.

    Blog text (14)
  • Viewing a diff between the two files wasn't helpful, as so much had been tweaked, renamed, and refactored on both sides.

    Blog text (12)
  • I start with a diff between the two files and identify the low-hanging fruit: code that is only superficially different due to things like variable and method renames.

    Blog text (12)
  • That's not quite fair; part of git's core design involves accepting emailed diffs as full patches.

    Blog text (14)
  • After these quick, low-risk, automatable refactorings are applied to the deprecated code, the diff becomes more illuminating.

    Blog text (12)
  • Using a comparison tool, I generated a diff to highlight the changes made to the document.

  • To track the progress of his writing, he saved a diff showing the revisions between drafts.

Synonyms

difference
vsdiff
  • Specialized
9 4.2

A list of changes between two versions of a file

is the comparison tool output that displays changes for viewing rather than patch creation

Antonyms

157 2.7

A likeness between things that makes them seem related

How Extensive

diff
  • Specialized
1 7.5
modification
50 3.6
unchanged
62 1.0

Surface Forms

diff singular
diffs plural

Etymology

Diff is a short form of the word difference, the same root as different. In computing, a diff is like a file or report that shows the 'difference' between two versions so you can see which lines were added, removed, or changed.