Top "Diff" questions

The act of identifying differences between two or more files in order to support various software development activities (bug tracking, patch creation, ...)

How to expand/collapse a diff sections in Vimdiff?

I've started using vimdiff today, and wanted to do some of the things that I've taken for granted on Windows …

linux vim diff command-line-interface vimdiff
How to apply `git diff` patch without Git installed?

How can my client apply patch created by git diff without git installed? I have tried to use patch command …

git diff patch
git diff between two different files

In HEAD (the latest commit), I have a file named foo. In my current working tree, I renamed it to …

git diff
Comparing two .jar files

How do I compare two .jar files? Both of them have compiled .class files. I want the difference in terms …

java jar comparison diff
How do I apply a diff patch on Windows?

There are plenty of programs out there that can create a diff patch, but I'm having a heck of a …

windows diff gnu patch
unix diff side-to-side results?

How can I plot the results of a unix diff command side-to-side instead of one difference after the other? See …

bash unix diff
Are there any free Xml Diff/Merge tools available?

I have several config files in my .net applications which I would like to merge application settings elements etc. I …

xml merge diff
Compare two folders which has many files inside contents

Have two folders with approx. 150 java property files. In a shell script, how to compare both folders to see if …

unix shell diff
Viewing all `git diffs` with vimdiff

I setup git diff to wrap into vimdiff, using "Git Diff with Vimdiff" as a guide, and it's working as …

git vim diff vimdiff
Highlight the difference between two strings in PHP

What is the easiest way to highlight the difference between two strings in PHP? I'm thinking along the lines of …

php string diff word-diff