Commit Graph

10 Commits (ee8f71101b80496b2ec2c996d29ac33bbaf7cf00)

Author SHA1 Message Date
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
David Allsopp f23d1424ee Add Unix.has_symlink 2016-02-10 23:25:39 +00:00
David Allsopp fa3abf649e Support Unix.readlink on Windows 2016-02-10 23:25:38 +00:00
David Allsopp 3dfd21aa3a Support symbolic links in Win32 Unix.stat 2016-02-10 23:23:50 +00:00
David Allsopp 0dc60eefc7 Fix test-suite custom scripts on Windows
.precheck, .runner and .checker files are part of scripts and need to
have LF line-endings.
2016-01-25 15:08:00 +00:00
David Allsopp 9b7c1134de Fix parsing tests on Windows
Testing the parsetree fails on Windows because the .ml files have `\r\n`
endings. For these tests, simplest simply to ensure that they are checked
out using LF endings, even on Windows.
2016-01-25 15:07:59 +00:00
David Allsopp 1a797e9817 Handle binary files correctly in tools/check-typo
I'm not familiar enough with Subversion to know how properties work
there, but the translation for detecting binary files to git using
attributes is incorrect. Checking for the binary attribute with
check-attr only detects if the file has been *specified* as binary.

Script altered to use a "well-known" plumbing command to detect whether
git regards a particular file as binary. This takes into account
.gitattributes, but also works if the file has been automatically
detected as binary by git.
2015-12-14 15:29:04 +00:00
David Allsopp d8b7a4f48e Update .gitattributes for improved Windows support
Explicitly state which files should always be checked out with LF
endings (shell scripts, especially).
2015-12-12 14:38:11 +00:00
Damien Doligez 7cb9a80744 simplify .gitignore; remove .ignore files and tools/setignore; adjust tools/check-typo 2015-11-06 16:25:05 +01:00
Damien Doligez 15796e716c update tools/check-typo to work with git attributes instead of svn properties 2015-11-03 17:32:50 +01:00