Differences between revisions 4 and 9 (spanning 5 versions)
Revision 4 as of 2006-12-30 22:56:22
Size: 374
Comment: Slight elaboration on the topic of unified diffs.
Revision 9 as of 2012-05-13 14:27:17
Size: 467
Editor: 62
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Unified diff == = Unified diff =
Line 3: Line 3:
A unified diff is a PatchFile (or Diff) in [http://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html unified format]. This is the most popular, and prevalent, form of diff file used today. Traditionally this was created by running {{{diff}}} with the "-u" option; however, Mercurial's diff command generates unified diffs for you. A '''unified [[Diff|diff]]''' is a [[PatchFile|patch file]] (or diff) in [[http://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html|unified format]]. This is the most popular and prevalent form of diff file used today. Traditionally this was created by running {{{diff}}} with the "-u" option; however, Mercurial's diff command generates unified diffs for you.

See also: [[GitExtendedDiffFormat]]

----
CategoryGlossary

Unified diff

A unified diff is a patch file (or diff) in unified format. This is the most popular and prevalent form of diff file used today. Traditionally this was created by running diff with the "-u" option; however, Mercurial's diff command generates unified diffs for you.

See also: GitExtendedDiffFormat


CategoryGlossary

UnifiedDiff (last edited 2012-11-08 16:27:39 by abuehl)