Dan Pascu <[email protected]> writes:

> I noticed that with darcs-2 when there is no change in the working
> tree, darcs diff still outputs an empty line. This was not happening
> in 1.0.9
>
> dawn:~/work/project$ darcs diff
> dawn:~/work/project$ darcs2 diff
>
> dawn:~/work/project$

This shouldn't be a problem, because patch(1) will ignore everything
before the first hunk (signified by a line beginning with three
minus-hyphens).  That "header" area is often used to hold a comment
explaining what the patch does; darcs does this if you do

    darcs diff -p .

However I can understand how annoying unwanted whitespace can be, so if
you want this regression fixed the best approach is to 1) report it to
[email protected]; 2) write a regression test for the tests/ directory; and
then 3) hack the code so the test passes.

Of course, you don't need to do all three steps by yourself.  But then
it'll only get dealt with when someone else has the inclination, time
and experience to do the remaining steps.

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to