Ticket Change Details
Not logged in
Overview

Artifact ID: d8f507f1016ed94b441855305049cce75bc99b96
Ticket: a9f7b23c2e376af5b0e5bc180e55ca2b8b012ff7
fossil diff produces a non-working patch
User & Date: drh 2010-08-21 03:41:22
Changes

  1. Appended to comment:
    
    
    <hr><i>drh added on 2010-08-21 03:41:22:</i><br>
    The problem seems to be that the "fossil diff" command ignores whitespace
    at the end of lines.  IIRC, I added this "feature" when I encountered some
    check-ins from people using windows editors that inserted \r at the end of
    every line.  If end-of-line whitespace is not ignored in that case, then
    the diff output is useless.  
    
    Maybe the right solution is to make "diff" output ignore end-of-line 
    whitespace but create a new command for generating patches that takes
    end-of-line whitespace into account?
    
  2. resolution changed to: "Open"