[darcs-users] trailing whitespace

Trent W. Buck trentbuck at gmail.com
Thu May 14 01:45:24 UTC 2009


Jason Dagit <dagit at codersbase.com> writes:

> I guess that's sort of where darcs is doing something that other vcs
> farm off to diff viewers.

We do have a "darcs diff", but it's a lot slower than "darcs whatsnew"
precisely because it does have to run a separate diff process, which
entails setting up two working trees (or subsets thereof) appropriately.

> From experience where we use svn at work, we use a separate program to
> view diffs that allows you to see whitespace

Which program is this, please?

> and also to ignore differences that vary only by whitespace.

    ALL diff-opts -uw

in your ~/.darcs/defaults should achieve this. I had to turn it off
because it bit me in the arse badly when trying to manually transplant
some patches (by exporting them to diff, then applying and re-recording
them) -- because obviously diff -w is lossy.



More information about the darcs-users mailing list