Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#765 generate patch does not use "ignore DOS/UNIX/Mac CR" differe

open
nobody
None
5
2012-12-21
2004-12-05
Gábor Lipták
No

version 2.2.0.0

Steps to reproduce:

1. Load files with different CR settings e.g. DOS vs.
UNIX (and request CR differences to be ignored)
2. File comparison displays changes correctly
3. Generate patch will generate the whole file being
different (generating incorrect patch)

Discussion

  • Kimmo Varis
    Kimmo Varis
    2004-12-08

    Logged In: YES
    user_id=631874

    Yes, thats how it was planned - patch creating settings are
    independent from filecompare compare settings.

    (kind of) workaround is to convert file's EOL type to same
    before making a patch file. You can do this from menu:
    File/Format for.. (and save file with save as.. with another
    filename if you don't want to overwrite original.

     
  • Gábor Lipták
    Gábor Lipták
    2004-12-09

    Logged In: YES
    user_id=79346

    hmm ... it seems the patch generated should reflect what is
    currently visible on the screen (one verifies on the screen,
    than generates the patch?)