The International Simutrans Forum

 

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

0 Members and 1 Guest are viewing this topic.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2339
    • My addons, mostly roadsigns
  • 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. https://sourceforge.net/p/simutrans/code/1926/

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: 9285
  • 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.