delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/27/12:42:58

Date: Wed, 27 Dec 2000 19:12:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp-workers AT delorie DOT com
Subject: Re: diff -u
In-Reply-To: <200012271636.RAA00830@father.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1001227190901.12222C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 27 Dec 2000, Martin Str|mberg wrote:

> What's the context in context diffs that aren't in unified diffs?

Unified (-u) diffs prefer line deletions and additions, while context 
(-c) diffs favor groups of changed lines.  The latter makes it easier to 
see the two versions side by side, while -u requires you to reconstruct 
that mentally.  Some people find that reconstruction hard.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019