On Wed, 22 Sep 2010 10:42:43 -0700
Wolf Tivy <wti...@my.bcit.ca> wrote:

> > hey,
> > 
> > sounds quite interesting, but what's wrong with a simple
> > diff-file instead of instructions where to insert c-code? -.-
> > 
> > 
> > v4hn
> 
> A diff would be better, but my dwm has some other crap, and I
> don't have the unmodified, and those are just excuses for the
> fact that i don't know how to make a diff patch.
> I would guess something like $ diff -patch dwm.c olddwm.c
> would that work? I suppose I should RTFM.

GNU:

$ diff -U 5 OLD-FILE NEW-FILE >PATCH-FILE

Plan 9:

$ diff -c OLD-FILE NEW-FILE >PATCH-FILE


But you should probably use Mercurial to download dwm, and record your
changes as either Mercurial commits or Mercurial Queues patches.  See
<http://hgbook.red-bean.com/>.


Robert Ransom

Attachment: signature.asc
Description: PGP signature

Reply via email to