Your best friend for file transfer.

Fetch application logoFetch

Code Is Getting Separated Randomly (7 posts)

  • Started 1 month ago by Stef
  • Latest reply 1 month ago from Stef
  • Stef Member

    Hey Jim,

    I get this every once and awhile where I code a page perfectly and then a colleague who's not Mac based and is Windows based will edit that file the next day and then I log back in to check his work and the file is like as tall as the Empire State building.

    Any thoughts as to what can be going on here? I created a loom for you since there's no image upload.
    https://www.loom.com/share/a741d7f7791b430db391030bfd502f2f

    Thanks

    Stef

    Posted 1 month ago #

  • Jim Matthews Administrator

    Hi,

    Thanks for the Loom, that's very helpful. Could you check the setting of the "Editing text files: Use text mode transfers" checkbox in the Obscure section of Preferences? Does switching that setting make a difference?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 1 month ago #

  • Stef Member

    Hi Jim,

    Thanks. That box has been checked for like 14 years or so. Should I uncheck it?

    Posted 1 month ago #

  • Jim Matthews Administrator

    I'd give it a try, and see if it helps.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 1 month ago #

  • Stef Member

    So far so good. So if unchecking this did the trick is there a bug in Fetch or a something else?

    Thanks for the quick assist Jim

    Posted 1 month ago #

  • Jim Matthews Administrator

    When the box is checked, Fetch converts line endings to the Mac standard (a single linefeed). Depending on the editors being used to edit a file, it sometimes works better to use binary mode transfers, which leave the line endings alone.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 1 month ago #

  • Stef Member

    When this first happened eons ago. Maybe 15 years ago, you advised to have it checked and then somewhere in between I saw mode switch from Binary to Automatic and it's been that way ever since. However, I'm also on 2 different machines now. So I'm not sure my settings from my original Mac followed me over.

    I use Sublime mostly. Sometimes VSC, but not as often.

    I'll keep an eye on it. Thanks.

    Posted 1 month ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.