opam-repository-mingw
opam-repository-mingw copied to clipboard
ocaml-env seems to change some unrelated file's newline behavior?
Hello! I'm running your stack on GitHub Action Windows CI, with the current default git settings (checked out files as CRLF). However, it seems that ocaml-env exec -- trivialScript changes some things. The files are still in CRLF but in my setup, git diff is showing a diff, possibly a stale git diff cache (I hardly believe this is actually the case but I've checked all the file's line ending at every step of my commands).
Tldr:
- CI windows git checkout with CRLF
file.txtstill in CRLFgit diffempty- run
trivialScript file.txtstill in CRLF of coursegit diffstill empty- run
ocaml-env exec --trivialScript file.txtstill in CRLFgit diffnow shows that there are diffs, but the diff view shows that there isn't any (including, no newline changes. Unless I'm usinggit diff's options wrong):-foo +foo
I'm unfamiliar with where I can find the source to ocaml-env; do you know what could have happened here?
cc @smorimoto who'll probably want to know about this =)