The International Simutrans Forum


Author Topic: sorceforge shows dat files as binary  (Read 5702 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki

  • Devotee
  • *
  • Posts: 3737
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
sorceforge shows dat files as binary
« on: February 01, 2018, 09:01:31 PM »
Hi everybody,

I was looking at the web interface to SVN @ sourceforge - looking at recent changes (diffs). I found out that .dat files are considered to be binary, and thus no diff is shown. On the other hand .tab and .conf files are shown. See e.g.

If I do "svn diff" at my computer I can see diffs for .dat files normally.

Is that something we could change? Or might it be just my user setting of the web interface?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 11094
  • Languages: De,EN,JP
Re: sorceforge shows dat files as binary
« Reply #1 on: February 16, 2018, 02:25:08 PM »
When checking in a dat file set it to svn:eol-style native

svn add xyz.dat
svn ps svn:eol-style native xyz.dat

You can use wildcards with them too.