[darcs-devel] [issue1717] Confusing behaviour when "No newline at end of file"

Ganesh Sittampalam ganesh at earth.li
Mon Dec 14 12:29:30 UTC 2009


On Mon, 14 Dec 2009, Trent W. Buck wrote:

>
> Trent W. Buck <trentbuck at gmail.com> added the comment:
>
> Ganesh Sittampalam wrote:
>> So I don't see any obvious alternative to the current behaviour.
>
> Can we at least inform the user (as diff does)?  Currently a newly
> added file is "inexplicably" recorded as two separate hunks.

I'd be happy with that (assuming that the message was only emitted when 
there might be confusion.)

BTW even if we do identify a better behaviour it'd be a patch format 
change to actually implement it.

Ganesh


More information about the darcs-devel mailing list